Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewObserver)
ProviderSet is observer providers.
Functions ¶
This section is empty.
Types ¶
type ChatsObserver ¶
type ChatsObserver interface { Register(int64, int64, chan *v1.NewMessage) Deregister(int64, int64) Publish(int64, *v1.NewMessage) }
func NewObserver ¶
func NewObserver(logger log.Logger) ChatsObserver
type Observer ¶
func (*Observer) Deregister ¶
Click to show internal directories.
Click to hide internal directories.