islb

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v1.5.0

type Config struct {
	Global  global    `mapstructure:"global"`
	Log     logConf   `mapstructure:"log"`
	Nats    natsConf  `mapstructure:"nats"`
	Redis   db.Config `mapstructure:"redis"`
	CfgFile string
}

Config for islb node

type ISLB added in v1.9.0

type ISLB struct {
	ion.Node
	// contains filtered or unexported fields
}

ISLB represents islb node

func NewISLB added in v1.9.0

func NewISLB() *ISLB

NewISLB create a islb node instance

func (*ISLB) Close added in v1.9.0

func (i *ISLB) Close()

Close all

func (*ISLB) Start added in v1.9.0

func (i *ISLB) Start(conf Config) error

Start islb node

type Registry added in v1.9.1

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

func NewRegistry added in v1.9.1

func NewRegistry(dc string, nc *nats.Conn, redis *db.Redis) (*Registry, error)

func (*Registry) Close added in v1.9.1

func (r *Registry) Close()

Jump to

Keyboard shortcuts

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