agent

package
v0.0.0-...-43feff1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	Config
	// contains filtered or unexported fields
}

func New

func New(config Config) (*Agent, error)

func (*Agent) Done

func (a *Agent) Done() chan struct{}

func (*Agent) Run

func (a *Agent) Run() error

func (*Agent) Shutdown

func (a *Agent) Shutdown() error

type Config

type Config struct {
	UserAddr      string
	BindAddr      string
	DiscoveryAddr string
	DBPath        string
	DataPath      string

	Bootstrap      bool
	NodeName       string
	StartJoinAddrs []string
}

Jump to

Keyboard shortcuts

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