Documentation ¶
Index ¶
- type Bypass
- func (*Bypass) Descriptor() ([]byte, []int)
- func (m *Bypass) GetBypassFile() string
- func (m *Bypass) GetEnabled() bool
- func (*Bypass) ProtoMessage()
- func (m *Bypass) Reset()
- func (m *Bypass) String() string
- func (m *Bypass) XXX_DiscardUnknown()
- func (m *Bypass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bypass) XXX_Merge(src proto.Message)
- func (m *Bypass) XXX_Size() int
- func (m *Bypass) XXX_Unmarshal(b []byte) error
- type DNS
- func (*DNS) Descriptor() ([]byte, []int)
- func (m *DNS) GetDOH() bool
- func (m *DNS) GetHost() string
- func (m *DNS) GetProxy() bool
- func (m *DNS) GetSubnet() string
- func (*DNS) ProtoMessage()
- func (m *DNS) Reset()
- func (m *DNS) String() string
- func (m *DNS) XXX_DiscardUnknown()
- func (m *DNS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DNS) XXX_Merge(src proto.Message)
- func (m *DNS) XXX_Size() int
- func (m *DNS) XXX_Unmarshal(b []byte) error
- type Proxy
- func (*Proxy) Descriptor() ([]byte, []int)
- func (m *Proxy) GetHTTP() string
- func (m *Proxy) GetRedir() string
- func (m *Proxy) GetSocks5() string
- func (*Proxy) ProtoMessage()
- func (m *Proxy) Reset()
- func (m *Proxy) String() string
- func (m *Proxy) XXX_DiscardUnknown()
- func (m *Proxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Proxy) XXX_Merge(src proto.Message)
- func (m *Proxy) XXX_Size() int
- func (m *Proxy) XXX_Unmarshal(b []byte) error
- type Setting
- func (*Setting) Descriptor() ([]byte, []int)
- func (m *Setting) GetBypass() *Bypass
- func (m *Setting) GetDNS() *DNS
- func (m *Setting) GetLocalDNS() *DNS
- func (m *Setting) GetProxy() *Proxy
- func (m *Setting) GetSsrPath() stringdeprecated
- func (m *Setting) GetSystemProxy() *SystemProxy
- func (*Setting) ProtoMessage()
- func (m *Setting) Reset()
- func (m *Setting) String() string
- func (m *Setting) XXX_DiscardUnknown()
- func (m *Setting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Setting) XXX_Merge(src proto.Message)
- func (m *Setting) XXX_Size() int
- func (m *Setting) XXX_Unmarshal(b []byte) error
- type SystemProxy
- func (*SystemProxy) Descriptor() ([]byte, []int)
- func (m *SystemProxy) GetEnabled() bool
- func (m *SystemProxy) GetHTTP() bool
- func (m *SystemProxy) GetSocks5() bool
- func (*SystemProxy) ProtoMessage()
- func (m *SystemProxy) Reset()
- func (m *SystemProxy) String() string
- func (m *SystemProxy) XXX_DiscardUnknown()
- func (m *SystemProxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SystemProxy) XXX_Merge(src proto.Message)
- func (m *SystemProxy) XXX_Size() int
- func (m *SystemProxy) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bypass ¶
type Bypass struct { Enabled bool `protobuf:"varint,1,opt,name=Enabled,json=enabled,proto3" json:"Enabled,omitempty"` BypassFile string `protobuf:"bytes,2,opt,name=BypassFile,json=bypass_file,proto3" json:"BypassFile,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Bypass) Descriptor ¶
func (*Bypass) GetBypassFile ¶
func (*Bypass) GetEnabled ¶
func (*Bypass) ProtoMessage ¶
func (*Bypass) ProtoMessage()
func (*Bypass) XXX_DiscardUnknown ¶
func (m *Bypass) XXX_DiscardUnknown()
func (*Bypass) XXX_Marshal ¶
func (*Bypass) XXX_Unmarshal ¶
type DNS ¶
type DNS struct { Host string `protobuf:"bytes,1,opt,name=Host,json=host,proto3" json:"Host,omitempty"` DOH bool `protobuf:"varint,2,opt,name=DOH,json=doh,proto3" json:"DOH,omitempty"` Proxy bool `protobuf:"varint,3,opt,name=Proxy,json=proxy,proto3" json:"Proxy,omitempty"` Subnet string `protobuf:"bytes,4,opt,name=subnet,proto3" json:"subnet,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DNS) Descriptor ¶
func (*DNS) ProtoMessage ¶
func (*DNS) ProtoMessage()
func (*DNS) XXX_DiscardUnknown ¶
func (m *DNS) XXX_DiscardUnknown()
func (*DNS) XXX_Unmarshal ¶
type Proxy ¶
type Proxy struct { HTTP string `protobuf:"bytes,1,opt,name=HTTP,json=http,proto3" json:"HTTP,omitempty"` Socks5 string `protobuf:"bytes,2,opt,name=Socks5,json=socks5,proto3" json:"Socks5,omitempty"` Redir string `protobuf:"bytes,3,opt,name=Redir,json=redir,proto3" json:"Redir,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Proxy) Descriptor ¶
func (*Proxy) ProtoMessage ¶
func (*Proxy) ProtoMessage()
func (*Proxy) XXX_DiscardUnknown ¶
func (m *Proxy) XXX_DiscardUnknown()
func (*Proxy) XXX_Marshal ¶
func (*Proxy) XXX_Unmarshal ¶
type Setting ¶
type Setting struct { //TODO all json lower case SystemProxy *SystemProxy `protobuf:"bytes,1,opt,name=SystemProxy,json=system_proxy,proto3" json:"SystemProxy,omitempty"` Bypass *Bypass `protobuf:"bytes,2,opt,name=Bypass,json=bypass,proto3" json:"Bypass,omitempty"` Proxy *Proxy `protobuf:"bytes,3,opt,name=Proxy,json=proxy,proto3" json:"Proxy,omitempty"` DNS *DNS `protobuf:"bytes,4,opt,name=DNS,json=dns,proto3" json:"DNS,omitempty"` LocalDNS *DNS `protobuf:"bytes,5,opt,name=LocalDNS,json=local_dns,proto3" json:"LocalDNS,omitempty"` SsrPath string `protobuf:"bytes,11,opt,name=SsrPath,json=ssr_path,proto3" json:"SsrPath,omitempty"` // Deprecated: Do not use. XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Setting) Descriptor ¶
func (*Setting) GetLocalDNS ¶
func (*Setting) GetSsrPath
deprecated
func (*Setting) GetSystemProxy ¶
func (m *Setting) GetSystemProxy() *SystemProxy
func (*Setting) ProtoMessage ¶
func (*Setting) ProtoMessage()
func (*Setting) XXX_DiscardUnknown ¶
func (m *Setting) XXX_DiscardUnknown()
func (*Setting) XXX_Marshal ¶
func (*Setting) XXX_Unmarshal ¶
type SystemProxy ¶
type SystemProxy struct { Enabled bool `protobuf:"varint,1,opt,name=Enabled,json=enabled,proto3" json:"Enabled,omitempty"` HTTP bool `protobuf:"varint,2,opt,name=HTTP,json=http,proto3" json:"HTTP,omitempty"` Socks5 bool `protobuf:"varint,3,opt,name=Socks5,json=socks5,proto3" json:"Socks5,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SystemProxy) Descriptor ¶
func (*SystemProxy) Descriptor() ([]byte, []int)
func (*SystemProxy) GetEnabled ¶
func (m *SystemProxy) GetEnabled() bool
func (*SystemProxy) GetHTTP ¶
func (m *SystemProxy) GetHTTP() bool
func (*SystemProxy) GetSocks5 ¶
func (m *SystemProxy) GetSocks5() bool
func (*SystemProxy) ProtoMessage ¶
func (*SystemProxy) ProtoMessage()
func (*SystemProxy) Reset ¶
func (m *SystemProxy) Reset()
func (*SystemProxy) String ¶
func (m *SystemProxy) String() string
func (*SystemProxy) XXX_DiscardUnknown ¶
func (m *SystemProxy) XXX_DiscardUnknown()
func (*SystemProxy) XXX_Marshal ¶
func (m *SystemProxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SystemProxy) XXX_Merge ¶
func (m *SystemProxy) XXX_Merge(src proto.Message)
func (*SystemProxy) XXX_Size ¶
func (m *SystemProxy) XXX_Size() int
func (*SystemProxy) XXX_Unmarshal ¶
func (m *SystemProxy) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.