Versions in this module Expand all Collapse all v1 v1.0.0 Dec 9, 2024 Changes in this version + func NewHandler(ctx context.Context, config *core.InboundHandlerConfig) (inbound.Handler, error) + type AlwaysOnInboundHandler struct + func NewAlwaysOnInboundHandler(ctx context.Context, tag string, receiverConfig *proxyman.ReceiverConfig, ...) (*AlwaysOnInboundHandler, error) + func (h *AlwaysOnInboundHandler) Close() error + func (h *AlwaysOnInboundHandler) GetInbound() proxy.Inbound + func (h *AlwaysOnInboundHandler) GetRandomInboundProxy() (interface{}, net.Port, int) + func (h *AlwaysOnInboundHandler) Start() error + func (h *AlwaysOnInboundHandler) Tag() string + type DynamicInboundHandler struct + func NewDynamicInboundHandler(ctx context.Context, tag string, receiverConfig *proxyman.ReceiverConfig, ...) (*DynamicInboundHandler, error) + func (h *DynamicInboundHandler) Close() error + func (h *DynamicInboundHandler) GetRandomInboundProxy() (interface{}, net.Port, int) + func (h *DynamicInboundHandler) Start() error + func (h *DynamicInboundHandler) Tag() string + type Manager struct + func New(ctx context.Context, config *proxyman.InboundConfig) (*Manager, error) + func (*Manager) Type() interface{} + func (m *Manager) AddHandler(ctx context.Context, handler inbound.Handler) error + func (m *Manager) Close() error + func (m *Manager) GetHandler(ctx context.Context, tag string) (inbound.Handler, error) + func (m *Manager) RemoveHandler(ctx context.Context, tag string) error + func (m *Manager) Start() error