Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SubscribeHandler ¶
type SubscribeHandler func(res interface{})
type WSEvent ¶
type WSEvent struct {
// contains filtered or unexported fields
}
func (*WSEvent) RemoveEvent ¶
func (*WSEvent) Sub ¶
func (w *WSEvent) Sub(event string, handler SubscribeHandler)
Click to show internal directories.
Click to hide internal directories.