xgress_edge_tunnel

package
v0.24.200 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 43 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DefaultMode              = "tproxy"
	DefaultServicePollRate   = 15 * time.Second
	DefaultDnsResolver       = "udp://127.0.0.1:53"
	DefaultDnsServiceIpRange = "100.64.0.1/10"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

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

func NewFactory

func NewFactory(routerConfig *router.Config, stateManager fabric.StateManager, metricsRegistry metrics.UsageRegistry) *Factory

NewFactory constructs a new Edge Xgress Tunnel Factory instance

func (*Factory) BindChannel

func (self *Factory) BindChannel(binding channel.Binding) error

func (*Factory) CreateDialer

func (self *Factory) CreateDialer(optionsData xgress.OptionsData) (xgress.Dialer, error)

CreateDialer creates a new Edge Xgress dialer

func (*Factory) CreateListener

func (self *Factory) CreateListener(optionsData xgress.OptionsData) (xgress.Listener, error)

CreateListener creates a new Edge Tunnel Xgress listener

func (*Factory) DefaultRequestTimeout

func (self *Factory) DefaultRequestTimeout() time.Duration

func (*Factory) Enabled

func (self *Factory) Enabled() bool

func (*Factory) GetTraceDecoders

func (self *Factory) GetTraceDecoders() []channel.TraceMessageDecoder

func (*Factory) LoadConfig

func (self *Factory) LoadConfig(map[interface{}]interface{}) error

func (*Factory) NotifyOfReconnect

func (self *Factory) NotifyOfReconnect(channel.Channel)

func (*Factory) Run

func (self *Factory) Run(env env.RouterEnv) error

type Options

type Options struct {
	*xgress.Options
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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