Documentation ¶ Index ¶ func Init() func Publish(tag string, data map[string]interface{}) func PublishTopic(topic string, tag string, data map[string]interface{}) func SendEvent(appId string, uid string, event string, v interface{}) func SendTagEvent(tag string, appId string, uid string, event string, v interface{}) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Init ¶ added in v0.0.6 func Init() func Publish ¶ func Publish(tag string, data map[string]interface{}) func PublishTopic ¶ func PublishTopic(topic string, tag string, data map[string]interface{}) func SendEvent ¶ func SendEvent(appId string, uid string, event string, v interface{}) func SendTagEvent ¶ added in v0.0.5 func SendTagEvent(tag string, appId string, uid string, event string, v interface{}) SendTagEvent the first param tag is used for filter events in a pubsub topic for a specific subscription Types ¶ This section is empty. Source Files ¶ View all Source files event.go pubsub.go Click to show internal directories. Click to hide internal directories.