client

package
v2.0.1-0...-2f82913 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientPool

type ClientPool struct {
	Sessions []*nebula.Session
	// contains filtered or unexported fields
}

func NewClientPool

func NewClientPool(settings *config.NebulaClientSettings, statsCh chan<- base.Stats) (*ClientPool, error)

func (*ClientPool) Close

func (p *ClientPool) Close()

func (*ClientPool) Init

func (p *ClientPool) Init() error

type NebulaClientMgr

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

func NewNebulaClientMgr

func NewNebulaClientMgr(settings *config.NebulaClientSettings, statsCh chan<- base.Stats) (*NebulaClientMgr, error)

func (*NebulaClientMgr) Close

func (m *NebulaClientMgr) Close()

func (*NebulaClientMgr) GetNumConnections

func (m *NebulaClientMgr) GetNumConnections() int

func (*NebulaClientMgr) GetRequestChans

func (m *NebulaClientMgr) GetRequestChans() []chan base.ClientRequest

Jump to

Keyboard shortcuts

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