nat

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager nat Manager

func NewManager

func NewManager(nodeMgr *node.Manager, config *config.SchedulerCfg) *Manager

NewManager new manager

func (*Manager) DetermineCandidateNATType added in v0.1.19

func (m *Manager) DetermineCandidateNATType(ctx context.Context, nodeID string)

DetermineCandidateNATType Determine node NATType

func (*Manager) DetermineEdgeNATType

func (m *Manager) DetermineEdgeNATType(ctx context.Context, nodeID string)

DetermineEdgeNATType Determine node NATType

func (*Manager) GetCandidateURLsForDetectNat

func (m *Manager) GetCandidateURLsForDetectNat(ctx context.Context) ([]string, error)

GetCandidateURLsForDetectNat Get the rpc url of the specified number of candidate nodes

Jump to

Keyboard shortcuts

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