Documentation ¶
Index ¶
- type Queue
- type Topic
- type Topics
- func (self *Topics) Count() int
- func (self *Topics) Get(key string) (*Topic, bool)
- func (self *Topics) Keys() []string
- func (self *Topics) MarshalJSON() ([]byte, error)
- func (self *Topics) Publish(key string, packet *protocol.Publish)
- func (self *Topics) Subscribe(key string, conn protocol.Connection)
- func (self *Topics) UnSubscribe(key string, id string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Topic ¶
type Topic struct {
// contains filtered or unexported fields
}
func (*Topic) MarshalJSON ¶
func (*Topic) Subscribe ¶
func (self *Topic) Subscribe(conn protocol.Connection)
func (*Topic) UnSubscribe ¶
type Topics ¶
type Topics struct {
// contains filtered or unexported fields
}
func (*Topics) MarshalJSON ¶
func (*Topics) UnSubscribe ¶
Click to show internal directories.
Click to hide internal directories.