Documentation ¶
Index ¶
- Variables
- type Proxy
- func (*Proxy) Descriptor() ([]byte, []int)
- func (m *Proxy) GetIp() string
- func (m *Proxy) GetNodeName() string
- func (m *Proxy) GetPort() int32
- func (m *Proxy) GetProtocol() string
- func (m *Proxy) GetType() Proxy_Type
- 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 Proxy_Type
Constants ¶
This section is empty.
Variables ¶
View Source
var Proxy_Type_name = map[int32]string{
0: "CONNECT",
1: "SUCCESS",
2: "FAILED",
}
View Source
var Proxy_Type_value = map[string]int32{
"CONNECT": 0,
"SUCCESS": 1,
"FAILED": 2,
}
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct { Type *Proxy_Type `protobuf:"varint,1,opt,name=type,enum=proxy.Proxy_Type" json:"type,omitempty"` Protocol *string `protobuf:"bytes,2,opt,name=protocol" json:"protocol,omitempty"` NodeName *string `protobuf:"bytes,3,opt,name=node_name,json=nodeName" json:"node_name,omitempty"` Ip *string `protobuf:"bytes,4,opt,name=ip" json:"ip,omitempty"` Port *int32 `protobuf:"varint,5,opt,name=port" json:"port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Proxy) Descriptor ¶
func (*Proxy) GetNodeName ¶
func (*Proxy) GetProtocol ¶
func (*Proxy) GetType ¶
func (m *Proxy) GetType() Proxy_Type
func (*Proxy) ProtoMessage ¶
func (*Proxy) ProtoMessage()
func (*Proxy) XXX_DiscardUnknown ¶
func (m *Proxy) XXX_DiscardUnknown()
func (*Proxy) XXX_Marshal ¶
func (*Proxy) XXX_Unmarshal ¶
type Proxy_Type ¶
type Proxy_Type int32
const ( Proxy_CONNECT Proxy_Type = 0 Proxy_SUCCESS Proxy_Type = 1 Proxy_FAILED Proxy_Type = 2 )
func (Proxy_Type) Enum ¶
func (x Proxy_Type) Enum() *Proxy_Type
func (Proxy_Type) EnumDescriptor ¶
func (Proxy_Type) EnumDescriptor() ([]byte, []int)
func (Proxy_Type) String ¶
func (x Proxy_Type) String() string
func (*Proxy_Type) UnmarshalJSON ¶
func (x *Proxy_Type) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.