Documentation ¶
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetDestinationOverride() *DestinationOverride
- func (m *Config) GetDomainStrategy() Config_DomainStrategy
- func (m *Config) GetTimeout() uint32deprecated
- func (m *Config) GetUserLevel() uint32
- func (*Config) ProtoMessage()
- 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 Config_DomainStrategy
- type DestinationOverride
- func (*DestinationOverride) Descriptor() ([]byte, []int)
- func (m *DestinationOverride) GetServer() *protocol.ServerEndpoint
- func (*DestinationOverride) ProtoMessage()
- func (m *DestinationOverride) Reset()
- func (m *DestinationOverride) String() string
- func (m *DestinationOverride) XXX_DiscardUnknown()
- func (m *DestinationOverride) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DestinationOverride) XXX_Merge(src proto.Message)
- func (m *DestinationOverride) XXX_Size() int
- func (m *DestinationOverride) XXX_Unmarshal(b []byte) error
- type Handler
- type UDPReader
- type UDPWriter
Constants ¶
This section is empty.
Variables ¶
View Source
var Config_DomainStrategy_name = map[int32]string{
0: "AS_IS",
1: "USE_IP",
2: "USE_IP4",
3: "USE_IP6",
}
View Source
var Config_DomainStrategy_value = map[string]int32{
"AS_IS": 0,
"USE_IP": 1,
"USE_IP4": 2,
"USE_IP6": 3,
}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DomainStrategy Config_DomainStrategy `` /* 156-byte string literal not displayed */ Timeout uint32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"` // Deprecated: Do not use. DestinationOverride *DestinationOverride `protobuf:"bytes,3,opt,name=destination_override,json=destinationOverride,proto3" json:"destination_override,omitempty"` UserLevel uint32 `protobuf:"varint,4,opt,name=user_level,json=userLevel,proto3" json:"user_level,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Config) Descriptor ¶
func (*Config) GetDestinationOverride ¶
func (m *Config) GetDestinationOverride() *DestinationOverride
func (*Config) GetDomainStrategy ¶
func (m *Config) GetDomainStrategy() Config_DomainStrategy
func (*Config) GetTimeout
deprecated
func (*Config) GetUserLevel ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) XXX_DiscardUnknown ¶
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶
func (*Config) XXX_Unmarshal ¶
type Config_DomainStrategy ¶
type Config_DomainStrategy int32
const ( Config_AS_IS Config_DomainStrategy = 0 Config_USE_IP Config_DomainStrategy = 1 Config_USE_IP4 Config_DomainStrategy = 2 Config_USE_IP6 Config_DomainStrategy = 3 )
func (Config_DomainStrategy) EnumDescriptor ¶
func (Config_DomainStrategy) EnumDescriptor() ([]byte, []int)
func (Config_DomainStrategy) String ¶
func (x Config_DomainStrategy) String() string
type DestinationOverride ¶
type DestinationOverride struct { Server *protocol.ServerEndpoint `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DestinationOverride) Descriptor ¶
func (*DestinationOverride) Descriptor() ([]byte, []int)
func (*DestinationOverride) GetServer ¶
func (m *DestinationOverride) GetServer() *protocol.ServerEndpoint
func (*DestinationOverride) ProtoMessage ¶
func (*DestinationOverride) ProtoMessage()
func (*DestinationOverride) Reset ¶
func (m *DestinationOverride) Reset()
func (*DestinationOverride) String ¶
func (m *DestinationOverride) String() string
func (*DestinationOverride) XXX_DiscardUnknown ¶
func (m *DestinationOverride) XXX_DiscardUnknown()
func (*DestinationOverride) XXX_Marshal ¶
func (m *DestinationOverride) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DestinationOverride) XXX_Merge ¶
func (m *DestinationOverride) XXX_Merge(src proto.Message)
func (*DestinationOverride) XXX_Size ¶
func (m *DestinationOverride) XXX_Size() int
func (*DestinationOverride) XXX_Unmarshal ¶
func (m *DestinationOverride) XXX_Unmarshal(b []byte) error
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler handles Freedom connections.
type UDPReader ¶
type UDPReader struct {
// contains filtered or unexported fields
}
func (*UDPReader) ReadMultiBuffer ¶
func (v *UDPReader) ReadMultiBuffer() (buf.MultiBuffer, error)
Dummy method.
type UDPWriter ¶
type UDPWriter struct {
// contains filtered or unexported fields
}
func (*UDPWriter) WriteMultiBuffer ¶
func (w *UDPWriter) WriteMultiBuffer(mb buf.MultiBuffer) error
Dummy method.
Click to show internal directories.
Click to hide internal directories.