Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type LeapClient ¶
type LeapClient struct { Config *Config OnError func(error) OnConnect func() OnDisconnect func() OnStateChange func(State) OnRequest func(r *http.Request) // contains filtered or unexported fields }
func New ¶
func New(config *Config) *LeapClient
func (*LeapClient) SetState ¶
func (c *LeapClient) SetState(state State)
func (*LeapClient) Subdomain ¶
func (c *LeapClient) Subdomain() string
Click to show internal directories.
Click to hide internal directories.