nat

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 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
}

func NewManager

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

func (*Manager) DetermineEdgeNATType

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

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