Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommanderOutbound ¶
type CommanderOutbound struct {
// contains filtered or unexported fields
}
func (*CommanderOutbound) Close ¶
func (co *CommanderOutbound) Close() error
func (*CommanderOutbound) Dispatch ¶
func (co *CommanderOutbound) Dispatch(ctx context.Context, r ray.OutboundRay)
func (*CommanderOutbound) Start ¶
func (co *CommanderOutbound) Start() error
func (*CommanderOutbound) Tag ¶
func (co *CommanderOutbound) Tag() string
type Config ¶
type Config struct { // Tag of the outbound handler that handles grpc connections. Tag string `protobuf:"bytes,1,opt,name=tag" json:"tag,omitempty"` // Services that supported by this server. All services must implement Service interface. Service []*v2ray_core_common_serial.TypedMessage `protobuf:"bytes,2,rep,name=service" json:"service,omitempty"` }
Config is the settings for Commander.
func (*Config) Descriptor ¶
func (*Config) GetService ¶
func (m *Config) GetService() []*v2ray_core_common_serial.TypedMessage
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
type OutboundListener ¶
type OutboundListener struct {
// contains filtered or unexported fields
}
func (*OutboundListener) Addr ¶
func (l *OutboundListener) Addr() net.Addr
func (*OutboundListener) Close ¶
func (l *OutboundListener) Close() error
Click to show internal directories.
Click to hide internal directories.