Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnnounceBroadcast ¶ added in v1.1.0
AnnounceBroadcast announces the completition of download of the broadcast to the server.
func AnnounceConfig ¶ added in v1.1.0
AnnounceConfig announces the completition of download of the centralConfig to the server.
func ColdStart ¶
ColdStart downloads central config and the newest broadcast into folders specified in config, without announcing their downloads.
func DownloadBroadcast ¶ added in v1.1.0
DownloadBroadcast downloads a new broadcast from the server into a given directory, unzipping it, if it has .zip extension.
Types ¶
type Info ¶ added in v1.1.0
type Info struct { //Broadcast informs whether there is //a newer broadcast than the one client has. Broadcast bool //FileType gives the type of the broadcast file. FileType string //Config informs whether there is a newer version //of centralConfig available. Config bool }
Info is a struct used to represent information about updated broadcast and config on the server.
Click to show internal directories.
Click to hide internal directories.