Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a middleman between the websocket connection and the hub.
func (*Client) IsSubscribed ¶ added in v0.4.0
type Hub ¶
type Hub struct { TokenSecret []byte TokenExpire time.Duration TokenIssuer string Users *store.Users // contains filtered or unexported fields }
func (*Hub) Unregister ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.