Documentation ¶
Index ¶
- func PublishResource(key int, status int, id string, data interface{}, context interface{}) error
- func PublishResourceDelay(key int, status int, id string, data interface{}, context interface{}, ...) error
- func Subscribe(key int, subscriber Subscriber)
- func Unsubscribe(key int, subscriber Subscriber)
- type Resource
- type Subscriber
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PublishResource ¶
func PublishResourceDelay ¶ added in v1.1.1
func Subscribe ¶
func Subscribe(key int, subscriber Subscriber)
func Unsubscribe ¶
func Unsubscribe(key int, subscriber Subscriber)
Types ¶
type Subscriber ¶
Click to show internal directories.
Click to hide internal directories.