Versions in this module Expand all Collapse all v3 v3.50.2 Oct 29, 2018 v3.50.1 Oct 28, 2018 Changes in this version + var Control_State_name = map[int32]string + var Control_State_value = map[string]int32 + type Bridge struct + func NewBridge(config *BridgeConfig, dispatcher routing.Dispatcher) (*Bridge, error) + func (b *Bridge) Close() error + func (b *Bridge) Start() error + type BridgeConfig struct + Domain string + Tag string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*BridgeConfig) Descriptor() ([]byte, []int) + func (*BridgeConfig) ProtoMessage() + func (m *BridgeConfig) GetDomain() string + func (m *BridgeConfig) GetTag() string + func (m *BridgeConfig) Reset() + func (m *BridgeConfig) String() string + func (m *BridgeConfig) XXX_DiscardUnknown() + func (m *BridgeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BridgeConfig) XXX_Merge(src proto.Message) + func (m *BridgeConfig) XXX_Size() int + func (m *BridgeConfig) XXX_Unmarshal(b []byte) error + type BridgeWorker struct + func NewBridgeWorker(domain string, tag string, d routing.Dispatcher) (*BridgeWorker, error) + func (w *BridgeWorker) Close() error + func (w *BridgeWorker) Connections() uint32 + func (w *BridgeWorker) Dispatch(ctx context.Context, dest net.Destination) (*vio.Link, error) + func (w *BridgeWorker) IsActive() bool + func (w *BridgeWorker) Start() error + func (w *BridgeWorker) Type() interface{} + type Config struct + BridgeConfig []*BridgeConfig + PortalConfig []*PortalConfig + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (m *Config) GetBridgeConfig() []*BridgeConfig + func (m *Config) GetPortalConfig() []*PortalConfig + func (m *Config) Reset() + func (m *Config) String() string + func (m *Config) XXX_DiscardUnknown() + func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Config) XXX_Merge(src proto.Message) + func (m *Config) XXX_Size() int + func (m *Config) XXX_Unmarshal(b []byte) error + type Control struct + Random []byte + State Control_State + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Control) Descriptor() ([]byte, []int) + func (*Control) ProtoMessage() + func (c *Control) FillInRandom() + func (m *Control) GetRandom() []byte + func (m *Control) GetState() Control_State + func (m *Control) Reset() + func (m *Control) String() string + func (m *Control) XXX_DiscardUnknown() + func (m *Control) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Control) XXX_Merge(src proto.Message) + func (m *Control) XXX_Size() int + func (m *Control) XXX_Unmarshal(b []byte) error + type Control_State int32 + const Control_ACTIVE + const Control_DRAIN + func (Control_State) EnumDescriptor() ([]byte, []int) + func (x Control_State) String() string + type Outbound struct + func (o *Outbound) Close() error + func (o *Outbound) Dispatch(ctx context.Context, link *vio.Link) + func (o *Outbound) Start() error + func (o *Outbound) Tag() string + type Portal struct + func NewPortal(config *PortalConfig, ohm outbound.Manager) (*Portal, error) + func (p *Portal) Close() error + func (p *Portal) Start() error + func (s *Portal) HandleConnection(ctx context.Context, link *vio.Link) error + type PortalConfig struct + Domain string + Tag string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*PortalConfig) Descriptor() ([]byte, []int) + func (*PortalConfig) ProtoMessage() + func (m *PortalConfig) GetDomain() string + func (m *PortalConfig) GetTag() string + func (m *PortalConfig) Reset() + func (m *PortalConfig) String() string + func (m *PortalConfig) XXX_DiscardUnknown() + func (m *PortalConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PortalConfig) XXX_Merge(src proto.Message) + func (m *PortalConfig) XXX_Size() int + func (m *PortalConfig) XXX_Unmarshal(b []byte) error + type PortalWorker struct + func NewPortalWorker(client *mux.ClientWorker) (*PortalWorker, error) + func (w *PortalWorker) Closed() bool + func (w *PortalWorker) IsFull() bool + type Reverse struct + func (r *Reverse) Close() error + func (r *Reverse) Init(config *Config, d routing.Dispatcher, ohm outbound.Manager) error + func (r *Reverse) Start() error + func (r *Reverse) Type() interface{} + type StaticMuxPicker struct + func NewStaticMuxPicker() (*StaticMuxPicker, error) + func (p *StaticMuxPicker) AddWorker(worker *PortalWorker) + func (p *StaticMuxPicker) PickAvailable() (*mux.ClientWorker, error) Other modules containing this package gopkg.in/v2ray/v2ray-core.v4