Documentation ¶
Index ¶
- type AppManifest
- type Command
- func NewAppManifest(a *app.App, data []byte) (*Command, error)
- func NewGeneralFailure(a *app.App, recieved string, message string) *Command
- func NewMsgBroadcast(a *app.App, data []byte) (*Command, error)
- func NewMsgQuery(a *app.App, data []byte) (*Command, error)
- func NewMsgQueryFail(a *app.App, data []byte) (*Command, error)
- func NewMsgQuerySuccess(a *app.App, data []byte) (*Command, error)
- func NewStatusChange(a *app.App, status int, data []byte) (*Command, error)
- func ParseCommand(a *app.App, blob []byte) *Command
- type GeneralFailure
- type MsgBroadcast
- type MsgQuery
- type MsgQueryFail
- type MsgQuerySuccess
- type StatusChange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppManifest ¶
func (*AppManifest) Execute ¶
func (a *AppManifest) Execute()
construct the app based on its manifest
type GeneralFailure ¶
func (*GeneralFailure) Execute ¶
func (gf *GeneralFailure) Execute()
type MsgBroadcast ¶
func (*MsgBroadcast) Execute ¶
func (mb *MsgBroadcast) Execute()
type MsgQuery ¶
type MsgQueryFail ¶
func (*MsgQueryFail) Execute ¶
func (mqf *MsgQueryFail) Execute()
type MsgQuerySuccess ¶
func (*MsgQuerySuccess) Execute ¶
func (mqs *MsgQuerySuccess) Execute()
type StatusChange ¶
func (*StatusChange) Execute ¶
func (sc *StatusChange) Execute()
change the app's status and notify all those that depend on this app
Click to show internal directories.
Click to hide internal directories.