proxyman

package
v2.8.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2016 License: MIT Imports: 3 Imported by: 6 modules, 16 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	APP_ID_INBOUND_MANAGER  = app.ID(4)
	APP_ID_OUTBOUND_MANAGER = app.ID(6)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultOutboundHandlerManager added in v1.13.1

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

func NewDefaultOutboundHandlerManager added in v1.13.1

func NewDefaultOutboundHandlerManager() *DefaultOutboundHandlerManager

func (*DefaultOutboundHandlerManager) GetDefaultHandler added in v1.13.1

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

func (*DefaultOutboundHandlerManager) GetHandler added in v1.13.1

func (*DefaultOutboundHandlerManager) Release added in v1.13.1

func (v *DefaultOutboundHandlerManager) Release()

func (*DefaultOutboundHandlerManager) SetDefaultHandler added in v1.13.1

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

func (*DefaultOutboundHandlerManager) SetHandler added in v1.13.1

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

type InboundHandlerManager

type InboundHandlerManager interface {
	GetHandler(tag string) (proxy.InboundHandler, int)
}

type OutboundHandlerManager added in v1.13.1

type OutboundHandlerManager interface {
	GetHandler(tag string) proxy.OutboundHandler
	GetDefaultHandler() proxy.OutboundHandler
}

Jump to

Keyboard shortcuts

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