Documentation ¶
Index ¶
- Constants
- type Command
- func IDENTIFYCmd(data map[string]interface{}) (*Command, error)
- func NopCmd() *Command
- func PingCmd() *Command
- func PublishCmd(topic string, body []byte) *Command
- func RegisterCmd(topic, channel string) *Command
- func RequeueCmd(id []byte) *Command
- func SubscribeCmd(topic string, channel string) *Command
- func UnRegisterCmd(topic, channel string) *Command
Constants ¶
View Source
const ( PING = "PING" SUB = "SUB" PUB = "PUB" NOP = "NOP" REQ = "REQ" IDENTIFY = "IDENTIFY" REGISTER = "REGISTER" UNREGISTER = "UNREGISTER" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
func IDENTIFYCmd ¶
func PublishCmd ¶
func RegisterCmd ¶
func RequeueCmd ¶
func SubscribeCmd ¶
func UnRegisterCmd ¶
Click to show internal directories.
Click to hide internal directories.