Documentation ¶
Index ¶
- Constants
- type DefaultOutboundHandlerManager
- func (this *DefaultOutboundHandlerManager) GetDefaultHandler() proxy.OutboundHandler
- func (this *DefaultOutboundHandlerManager) GetHandler(tag string) proxy.OutboundHandler
- func (this *DefaultOutboundHandlerManager) Release()
- func (this *DefaultOutboundHandlerManager) SetDefaultHandler(handler proxy.OutboundHandler)
- func (this *DefaultOutboundHandlerManager) SetHandler(tag string, handler proxy.OutboundHandler)
- type InboundHandlerManager
- type OutboundHandlerManager
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 (this *DefaultOutboundHandlerManager) GetDefaultHandler() proxy.OutboundHandler
func (*DefaultOutboundHandlerManager) GetHandler ¶ added in v1.13.1
func (this *DefaultOutboundHandlerManager) GetHandler(tag string) proxy.OutboundHandler
func (*DefaultOutboundHandlerManager) Release ¶ added in v1.13.1
func (this *DefaultOutboundHandlerManager) Release()
func (*DefaultOutboundHandlerManager) SetDefaultHandler ¶ added in v1.13.1
func (this *DefaultOutboundHandlerManager) SetDefaultHandler(handler proxy.OutboundHandler)
func (*DefaultOutboundHandlerManager) SetHandler ¶ added in v1.13.1
func (this *DefaultOutboundHandlerManager) SetHandler(tag string, handler proxy.OutboundHandler)
type InboundHandlerManager ¶ added in v1.9.1
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 }
Click to show internal directories.
Click to hide internal directories.