outbound

package
v2.15.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultOutboundHandlerManager

type DefaultOutboundHandlerManager struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*DefaultOutboundHandlerManager) GetDefaultHandler

func (v *DefaultOutboundHandlerManager) GetDefaultHandler() proxy.OutboundHandler

func (*DefaultOutboundHandlerManager) GetHandler

func (DefaultOutboundHandlerManager) Interface

func (DefaultOutboundHandlerManager) Interface() interface{}

func (*DefaultOutboundHandlerManager) SetDefaultHandler

func (v *DefaultOutboundHandlerManager) SetDefaultHandler(handler proxy.OutboundHandler) error

func (*DefaultOutboundHandlerManager) SetHandler

func (v *DefaultOutboundHandlerManager) SetHandler(tag string, handler proxy.OutboundHandler) error

type Handler

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

func NewHandler

func NewHandler(ctx context.Context, config *proxyman.OutboundHandlerConfig) (*Handler, error)

func (*Handler) Dial

func (h *Handler) Dial(ctx context.Context, destination net.Destination) (internet.Connection, error)

Jump to

Keyboard shortcuts

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