Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Commands - server receive handlers Commands = map[Command]cmds.ReceiveHandler{ StreamDelete: stream.DeleteCommand, StreamExists: stream.ExistsCommand, StreamList: stream.ListCommand, EventList: events.RangeCommand, EventPublish: pubsub.PublishCommand, StreamSubscribe: pubsub.SubscribeCommand, SubscribeAll: pubsub.SubscribeAllCommand, } )
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command string
Command - a server command
const ( // StreamDelete - redis delete command StreamDelete Command = "delete" // StreamExists - redis exists command StreamExists Command = "exists" // StreamList - redis list command StreamList Command = "slist" // EventList - redis event list command EventList Command = "elist" // EventPublish - redis event publish command EventPublish Command = "publish" // StreamSubscribe - redis stream subscription command StreamSubscribe Command = "subscribe" // SubscribeAll - redis all event subscription command SubscribeAll Command = "subscribeall" )
Click to show internal directories.
Click to hide internal directories.