Documentation
¶
Index ¶
Constants ¶
View Source
const ( SubscriberSubscribe int64 = 1 SubscriberUnsubscribe = 2 SubscriberMute = 3 SubscriberUnmute = 4 )
View Source
const ( ChanCreate int64 = 1 ChanDelete = 2 ChanMute = 3 ChanUnmute = 4 )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ChannelUpdate ¶
type ChannelUpdate struct {
Flag int64
Extra interface{}
}
type Subscribe ¶
type Subscribe interface {
SetGateInterface(gate gate.Interface)
UpdateSubscriber(id ChanID, updates []SubscriberUpdate) error
UpdateChannel(id ChanID, update ChannelUpdate) error
}
type Subscriber ¶
func (*Subscriber) Notify ¶
func (s *Subscriber) Notify(msg Message) error
type SubscriberUpdate ¶
Click to show internal directories.
Click to hide internal directories.