connector

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultHost                = "0.0.0.0"
	DefaultPort                = 32803
	DefaultPingInterval        = 10
	DefaultMaxPingsOutstanding = 3
	DefaultMaxReconnects       = -1
	DefaultAccessKey           = ""
	DefaultDomain              = "default"
	DefaultConnectionMode      = "default"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Connector

type Connector struct {
	// contains filtered or unexported fields
}

func New

func New(lifecycle fx.Lifecycle, l *zap.Logger) *Connector

func (*Connector) CreateClient

func (c *Connector) CreateClient() (*core.Client, error)

func (*Connector) GetClient

func (c *Connector) GetClient() *core.Client

func (*Connector) GetDomain

func (c *Connector) GetDomain() string

func (*Connector) StartLeafNode added in v0.0.16

func (c *Connector) StartLeafNode() error

Jump to

Keyboard shortcuts

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