Versions in this module Expand all Collapse all v1 v1.0.0 Oct 16, 2022 Changes in this version + type PubySuby struct + func NewPubySuby() *PubySuby + func (ps *PubySuby) LastMessageId(topic string) int64 + func (ps *PubySuby) Pull(topic string, timeout int64) []TopicItem + func (ps *PubySuby) PullSince(topic string, timeout int64, since int64) []TopicItem + func (ps *PubySuby) Push(topic string, message string) int64 + func (ps *PubySuby) Sub(topic string) *Subscription + func (ps *PubySuby) Unsubscribe(subscription *Subscription) + type Subscription struct + ListenChannel chan []TopicItem + TopicName string + type Topic struct + CommandChannel chan topicRequest + func NewTopic(topicName string) *Topic + func (t *Topic) GC() + type TopicItem struct + CreatedTime time.Time + Message string + MessageId int64