import "github.com/v2ray/v2ray-core/app/proxyman/inbound"
always.go dynamic.go errors.generated.go inbound.go worker.go
NewHandler creates a new inbound.Handler based on the given config.
type AlwaysOnInboundHandler struct {
// contains filtered or unexported fields
}
func NewAlwaysOnInboundHandler(ctx context.Context, tag string, receiverConfig *proxyman.ReceiverConfig, proxyConfig interface{}) (*AlwaysOnInboundHandler, error)
func (h *AlwaysOnInboundHandler) Close() error
Close implements common.Closable.
func (h *AlwaysOnInboundHandler) GetInbound() proxy.Inbound
func (h *AlwaysOnInboundHandler) GetRandomInboundProxy() (interface{}, net.Port, int)
func (h *AlwaysOnInboundHandler) Start() error
Start implements common.Runnable.
func (h *AlwaysOnInboundHandler) Tag() string
type DynamicInboundHandler struct {
// contains filtered or unexported fields
}
func NewDynamicInboundHandler(ctx context.Context, tag string, receiverConfig *proxyman.ReceiverConfig, proxyConfig interface{}) (*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 {
// contains filtered or unexported fields
}
Manager is to manage all inbound handlers.
New returns a new Manager for inbound handlers.
AddHandler implements inbound.Manager.
Close implements common.Closable.
GetHandler implements inbound.Manager.
RemoveHandler implements inbound.Manager.
Start implements common.Runnable.
Type implements common.HasType.
Package inbound imports 25 packages (graph). Updated 2020-11-06. Refresh now. Tools for package owners.