Documentation ¶
Index ¶
- type DefaultOutboundHandlerManager
- func (v *DefaultOutboundHandlerManager) GetDefaultHandler() proxy.OutboundHandler
- func (v *DefaultOutboundHandlerManager) GetHandler(tag string) proxy.OutboundHandler
- func (DefaultOutboundHandlerManager) Interface() interface{}
- func (v *DefaultOutboundHandlerManager) SetDefaultHandler(handler proxy.OutboundHandler) error
- func (v *DefaultOutboundHandlerManager) SetHandler(tag string, handler proxy.OutboundHandler) error
- type Handler
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 New ¶
func New(ctx context.Context, config *proxyman.OutboundConfig) (*DefaultOutboundHandlerManager, error)
func (*DefaultOutboundHandlerManager) GetDefaultHandler ¶
func (v *DefaultOutboundHandlerManager) GetDefaultHandler() proxy.OutboundHandler
func (*DefaultOutboundHandlerManager) GetHandler ¶
func (v *DefaultOutboundHandlerManager) GetHandler(tag string) proxy.OutboundHandler
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
Click to show internal directories.
Click to hide internal directories.