connector

package
v0.0.0-...-3de6b01 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0 Imports: 7 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"
)

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

Jump to

Keyboard shortcuts

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