Documentation ¶
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetDestinationOverride() *DestinationOverride
- func (x *Config) GetDomainStrategy() Config_DomainStrategy
- func (x *Config) GetTimeout() uint32deprecated
- func (x *Config) GetUserLevel() uint32
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Config_DomainStrategy
- func (Config_DomainStrategy) Descriptor() protoreflect.EnumDescriptor
- func (x Config_DomainStrategy) Enum() *Config_DomainStrategy
- func (Config_DomainStrategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x Config_DomainStrategy) Number() protoreflect.EnumNumber
- func (x Config_DomainStrategy) String() string
- func (Config_DomainStrategy) Type() protoreflect.EnumType
- type DestinationOverride
- func (*DestinationOverride) Descriptor() ([]byte, []int)deprecated
- func (x *DestinationOverride) GetServer() *protocol.ServerEndpoint
- func (*DestinationOverride) ProtoMessage()
- func (x *DestinationOverride) ProtoReflect() protoreflect.Message
- func (x *DestinationOverride) Reset()
- func (x *DestinationOverride) String() string
- type Handler
- type SimplifiedConfig
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", } Config_DomainStrategy_value = map[string]int32{ "AS_IS": 0, "USE_IP": 1, "USE_IP4": 2, "USE_IP6": 3, } )
Enum value maps for Config_DomainStrategy.
View Source
var File_proxy_freedom_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v1.1.0
type Config struct { DomainStrategy Config_DomainStrategy `` /* 156-byte string literal not displayed */ // Deprecated: Do not use. Timeout uint32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"` 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"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
added in
v1.1.0
func (*Config) GetDestinationOverride ¶ added in v1.1.0
func (x *Config) GetDestinationOverride() *DestinationOverride
func (*Config) GetDomainStrategy ¶ added in v1.1.0
func (x *Config) GetDomainStrategy() Config_DomainStrategy
func (*Config) GetTimeout
deprecated
added in
v1.1.0
func (*Config) GetUserLevel ¶ added in v1.1.0
func (*Config) ProtoMessage ¶ added in v1.1.0
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶ added in v1.1.0
func (x *Config) ProtoReflect() protoreflect.Message
type Config_DomainStrategy ¶ added in v1.1.0
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) Descriptor ¶ added in v1.1.0
func (Config_DomainStrategy) Descriptor() protoreflect.EnumDescriptor
func (Config_DomainStrategy) Enum ¶ added in v1.1.0
func (x Config_DomainStrategy) Enum() *Config_DomainStrategy
func (Config_DomainStrategy) EnumDescriptor
deprecated
added in
v1.1.0
func (Config_DomainStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use Config_DomainStrategy.Descriptor instead.
func (Config_DomainStrategy) Number ¶ added in v1.1.0
func (x Config_DomainStrategy) Number() protoreflect.EnumNumber
func (Config_DomainStrategy) String ¶ added in v1.1.0
func (x Config_DomainStrategy) String() string
func (Config_DomainStrategy) Type ¶ added in v1.1.0
func (Config_DomainStrategy) Type() protoreflect.EnumType
type DestinationOverride ¶ added in v1.1.0
type DestinationOverride struct { Server *protocol.ServerEndpoint `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` // contains filtered or unexported fields }
func (*DestinationOverride) Descriptor
deprecated
added in
v1.1.0
func (*DestinationOverride) Descriptor() ([]byte, []int)
Deprecated: Use DestinationOverride.ProtoReflect.Descriptor instead.
func (*DestinationOverride) GetServer ¶ added in v1.1.0
func (x *DestinationOverride) GetServer() *protocol.ServerEndpoint
func (*DestinationOverride) ProtoMessage ¶ added in v1.1.0
func (*DestinationOverride) ProtoMessage()
func (*DestinationOverride) ProtoReflect ¶ added in v1.1.0
func (x *DestinationOverride) ProtoReflect() protoreflect.Message
func (*DestinationOverride) Reset ¶ added in v1.1.0
func (x *DestinationOverride) Reset()
func (*DestinationOverride) String ¶ added in v1.1.0
func (x *DestinationOverride) String() string
type Handler ¶ added in v1.1.0
type Handler struct {
// contains filtered or unexported fields
}
Handler handles Freedom connections.
type SimplifiedConfig ¶ added in v1.1.0
type SimplifiedConfig struct {
// contains filtered or unexported fields
}
func (*SimplifiedConfig) Descriptor
deprecated
added in
v1.1.0
func (*SimplifiedConfig) Descriptor() ([]byte, []int)
Deprecated: Use SimplifiedConfig.ProtoReflect.Descriptor instead.
func (*SimplifiedConfig) ProtoMessage ¶ added in v1.1.0
func (*SimplifiedConfig) ProtoMessage()
func (*SimplifiedConfig) ProtoReflect ¶ added in v1.1.0
func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message
func (*SimplifiedConfig) Reset ¶ added in v1.1.0
func (x *SimplifiedConfig) Reset()
func (*SimplifiedConfig) String ¶ added in v1.1.0
func (x *SimplifiedConfig) String() string
Click to show internal directories.
Click to hide internal directories.