Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbackFunc ¶
type CallbackFunc func([]byte, ...interface{})
type SubscribeMap ¶
type SubscribeMap struct { Data map[string]CallbackFunc // contains filtered or unexported fields }
func (*SubscribeMap) Delete ¶
func (s *SubscribeMap) Delete(key string)
func (*SubscribeMap) Read ¶
func (s *SubscribeMap) Read(key string) (CallbackFunc, bool)
func (*SubscribeMap) Write ¶
func (s *SubscribeMap) Write(key string, f CallbackFunc)
Click to show internal directories.
Click to hide internal directories.