Documentation ¶
Overview ¶
Package api provides controllers for the API
Index ¶
- func ActivateScheduled(c util.Context) (err error)
- func Deactivated(c util.Context) (err error)
- func DeleteActivation(c util.Context) (err error)
- func Download(c util.Context) (err error)
- func DownloadFinish(c util.Context) (err error)
- func GetConfig(c util.Context) (err error)
- func GetDescription(c util.Context) (err error)
- func GetName(c util.Context) (err error)
- func GotConfig(c util.Context) (err error)
- func ScheduleActivation(c util.Context) (err error)
- func Status(c util.Context) (err error)
- func UpdateDescription(c util.Context) (err error)
- func UpdateName(c util.Context) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivateScheduled ¶
func Deactivated ¶
Deactivated is called by clients to announce that they have deactivated and deleted a broadcast
func DeleteActivation ¶
func DownloadFinish ¶
DownloadFinish is called by clients to announce that they have downloaded the broadcast.
func GetDescription ¶
GetDescription responds with the description of a broadcast.
func GotConfig ¶
GotConfig is called by clients to announce that they have downloaded the broadcast.
func ScheduleActivation ¶
func Status ¶
Status returns information about active broadcasts and config. It returns a JSON like:
{ "Broadcasts": [ { "Key": "aghkZXZ-Tm9uZXIZCxIMUHJlc2VudGF0aW9uGICAgICAgIAKDA", "FileType": "pptx" }, { "Key": "aghkZXZ-Tm9uZXIZCxIMUHJlc2VudGF0aW9uGICAgICAwO8KDA", "FileType": "ppt" } ] "Config": 1383212550 }
func UpdateDescription ¶
UpdateDescription changes the description of a broadcast.
func UpdateName ¶
UpdateName changes the name of a broadcast.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.