Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Settings *SessionConfig `protobuf:"bytes,1,opt,name=settings" json:"settings,omitempty"`
}
func (*Config) Descriptor ¶
func (*Config) GetSettings ¶
func (m *Config) GetSettings() *SessionConfig
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
type Interface ¶
type Interface interface {
DispatchToOutbound(ctx context.Context) ray.InboundRay
}
Interface dispatch a packet and possibly further network payload to its destination.
type SessionConfig ¶
type SessionConfig struct {
AllowPassiveConnection bool `protobuf:"varint,1,opt,name=allow_passive_connection,json=allowPassiveConnection" json:"allow_passive_connection,omitempty"`
}
func (*SessionConfig) Descriptor ¶
func (*SessionConfig) Descriptor() ([]byte, []int)
func (*SessionConfig) GetAllowPassiveConnection ¶
func (m *SessionConfig) GetAllowPassiveConnection() bool
func (*SessionConfig) ProtoMessage ¶
func (*SessionConfig) ProtoMessage()
func (*SessionConfig) Reset ¶
func (m *SessionConfig) Reset()
func (*SessionConfig) String ¶
func (m *SessionConfig) String() string
Click to show internal directories.
Click to hide internal directories.