node

package
v0.0.0-...-d84390e Latest Latest
Warning

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

Go to latest
Published: May 10, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	CertConfig  *cert.CertConfig     `mapstructure:"CertConfig"`
	RedisConfig *limiter.RedisConfig `mapstructure:"RedisConfig"`
	Multiplex   *Multiplex           `mapstructure:"Multiplex"`
}

type Manager

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

func NewManager

func NewManager(coreInstance *instance.Instance) *Manager

func (*Manager) AddNode

func (m *Manager) AddNode(nodeInfo *api.NodeInfo, tag string, config *Config) error

func (*Manager) RemoveNode

func (m *Manager) RemoveNode(tag string) error

type Multiplex

type Multiplex struct {
	Enabled bool `mapstructure:"Enabled"`
	Padding bool `mapstructure:"Padding"`
}

Jump to

Keyboard shortcuts

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