Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayClient ¶
type GatewayClient struct {
// contains filtered or unexported fields
}
func NewGatewayClient ¶
func NewGatewayClient(regAddr, pwd string, heartbeatInterval int) (*GatewayClient, error)
func (*GatewayClient) ListenAndRun ¶
func (own *GatewayClient) ListenAndRun()
func (*GatewayClient) WithCommandHandlers ¶
func (own *GatewayClient) WithCommandHandlers(handlers map[protocol.Command]connection.CommandHandler)
Click to show internal directories.
Click to hide internal directories.