gateway

package
v0.0.0-...-edd3e93 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 5 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL