Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EdgeHubServer ¶
type EdgeHubServer struct { tunnel.GrpcTunnelServer // contains filtered or unexported fields }
func New ¶
func New(options *Options) (*EdgeHubServer, error)
func (*EdgeHubServer) HTTPAPI ¶
func (s *EdgeHubServer) HTTPAPI() http.Handler
type Options ¶ added in v1.23.8
type Options struct { Listen string `json:"listen,omitempty"` ListenGrpc string `json:"listenGrpc,omitempty"` Host string `json:"host,omitempty" validate:"required"` ServerID string `json:"serverID,omitempty" validate:"required"` TLS *system.TLS `json:"tls,omitempty"` EdgeServerAddr string `json:"edgeServerAddr,omitempty"` }
func NewDefaultOptions ¶ added in v1.23.8
func NewDefaultOptions() *Options
Click to show internal directories.
Click to hide internal directories.