pubsub

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublishCommand

func PublishCommand(c *cmds.Context)

PublishCommand - PUBLISH <stream> <version> <event-payload>

func SubscribeAllCommand

func SubscribeAllCommand(c *cmds.Context)

SubscribeAllCommand - SUBSCRIBEALL [<index>]

func SubscribeCommand

func SubscribeCommand(c *cmds.Context)

SubscribeCommand - SUBSCRIBE <stream> [<offset>]

Types

type KeyValue

type KeyValue struct {
	Key   store.Key
	Value string
}

KeyValue - key and value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL