updates

package
v0.0.0-...-fa70c47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const TEMPLATE = `` /* 190-byte string literal not displayed */

Variables

This section is empty.

Functions

func CheckAndSendUpdates

func CheckAndSendUpdates(ctx handlers.ClientContext, token string) (int, error)

func CheckUpdatesLoop

func CheckUpdatesLoop(ctx handlers.ClientContext, token string)

Types

type Update

type Update struct {
	EntityName string

	Books []*pb.Book
}

type UpdateMessage

type UpdateMessage struct {
	UserId  int64
	Message string
}

type UpdateMsg

type UpdateMsg struct {
	Updates []Update
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL