Documentation ¶
Index ¶
- type AlwaysOnInboundHandler
- type DefaultInboundHandlerManager
- func (m *DefaultInboundHandlerManager) AddHandler(ctx context.Context, config *proxyman.InboundHandlerConfig) error
- func (m *DefaultInboundHandlerManager) Close()
- func (m *DefaultInboundHandlerManager) GetHandler(ctx context.Context, tag string) (proxyman.InboundHandler, error)
- func (m *DefaultInboundHandlerManager) Interface() interface{}
- func (m *DefaultInboundHandlerManager) Start() error
- type DynamicInboundHandler
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 (*AlwaysOnInboundHandler) Start ¶
func (h *AlwaysOnInboundHandler) Start() error
type DefaultInboundHandlerManager ¶
type DefaultInboundHandlerManager struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, config *proxyman.InboundConfig) (*DefaultInboundHandlerManager, error)
func (*DefaultInboundHandlerManager) AddHandler ¶
func (m *DefaultInboundHandlerManager) AddHandler(ctx context.Context, config *proxyman.InboundHandlerConfig) error
func (*DefaultInboundHandlerManager) Close ¶
func (m *DefaultInboundHandlerManager) Close()
func (*DefaultInboundHandlerManager) GetHandler ¶
func (m *DefaultInboundHandlerManager) GetHandler(ctx context.Context, tag string) (proxyman.InboundHandler, error)
func (*DefaultInboundHandlerManager) Interface ¶
func (m *DefaultInboundHandlerManager) Interface() interface{}
func (*DefaultInboundHandlerManager) Start ¶
func (m *DefaultInboundHandlerManager) Start() error
type DynamicInboundHandler ¶
type DynamicInboundHandler struct {
// 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 (*DynamicInboundHandler) Start ¶
func (h *DynamicInboundHandler) Start() error
Click to show internal directories.
Click to hide internal directories.