inbound

package
v2.16.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2017 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlwaysOnInboundHandler

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

func NewAlwaysOnInboundHandler

func NewAlwaysOnInboundHandler(ctx context.Context, tag string, receiverConfig *proxyman.ReceiverConfig, proxyConfig interface{}) (*AlwaysOnInboundHandler, error)

func (*AlwaysOnInboundHandler) Close

func (h *AlwaysOnInboundHandler) Close()

func (*AlwaysOnInboundHandler) GetRandomInboundProxy

func (h *AlwaysOnInboundHandler) GetRandomInboundProxy() (proxy.Inbound, net.Port, int)

func (*AlwaysOnInboundHandler) Start

func (h *AlwaysOnInboundHandler) Start() error

type DefaultInboundHandlerManager

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

func (*DefaultInboundHandlerManager) AddHandler

func (*DefaultInboundHandlerManager) Close

func (m *DefaultInboundHandlerManager) Close()

func (*DefaultInboundHandlerManager) GetHandler

func (*DefaultInboundHandlerManager) Interface

func (m *DefaultInboundHandlerManager) Interface() interface{}

func (*DefaultInboundHandlerManager) Start

type DynamicInboundHandler

type DynamicInboundHandler struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewDynamicInboundHandler

func NewDynamicInboundHandler(ctx context.Context, tag string, receiverConfig *proxyman.ReceiverConfig, proxyConfig interface{}) (*DynamicInboundHandler, error)

func (*DynamicInboundHandler) Close

func (h *DynamicInboundHandler) Close()

func (*DynamicInboundHandler) GetRandomInboundProxy

func (h *DynamicInboundHandler) GetRandomInboundProxy() (proxy.Inbound, v2net.Port, int)

func (*DynamicInboundHandler) Start

func (h *DynamicInboundHandler) Start() error

Jump to

Keyboard shortcuts

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