Documentation ¶
Index ¶
- Variables
- type Discovery
- func (*Discovery) Descriptor() ([]byte, []int)
- func (m *Discovery) GetNodeName() string
- func (m *Discovery) GetProtocol() string
- func (m *Discovery) GetType() Discovery_Type
- func (*Discovery) ProtoMessage()
- func (m *Discovery) Reset()
- func (m *Discovery) String() string
- func (m *Discovery) XXX_DiscardUnknown()
- func (m *Discovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Discovery) XXX_Merge(src proto.Message)
- func (m *Discovery) XXX_Size() int
- func (m *Discovery) XXX_Unmarshal(b []byte) error
- type Discovery_Type
Constants ¶
This section is empty.
Variables ¶
View Source
var Discovery_Type_name = map[int32]string{
0: "CONNECT",
1: "SUCCESS",
2: "FAILED",
}
View Source
var Discovery_Type_value = map[string]int32{
"CONNECT": 0,
"SUCCESS": 1,
"FAILED": 2,
}
Functions ¶
This section is empty.
Types ¶
type Discovery ¶
type Discovery struct { Type *Discovery_Type `protobuf:"varint,1,opt,name=type,enum=discovery.Discovery_Type" json:"type,omitempty"` Protocol *string `protobuf:"bytes,2,opt,name=pb" json:"pb,omitempty"` NodeName *string `protobuf:"bytes,3,opt,name=node_name,json=nodeName" json:"node_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Discovery) Descriptor ¶
func (*Discovery) GetNodeName ¶
func (*Discovery) GetProtocol ¶
func (*Discovery) GetType ¶
func (m *Discovery) GetType() Discovery_Type
func (*Discovery) ProtoMessage ¶
func (*Discovery) ProtoMessage()
func (*Discovery) XXX_DiscardUnknown ¶
func (m *Discovery) XXX_DiscardUnknown()
func (*Discovery) XXX_Marshal ¶
func (*Discovery) XXX_Unmarshal ¶
type Discovery_Type ¶
type Discovery_Type int32
const ( Discovery_CONNECT Discovery_Type = 0 Discovery_SUCCESS Discovery_Type = 1 Discovery_FAILED Discovery_Type = 2 )
func (Discovery_Type) Enum ¶
func (x Discovery_Type) Enum() *Discovery_Type
func (Discovery_Type) EnumDescriptor ¶
func (Discovery_Type) EnumDescriptor() ([]byte, []int)
func (Discovery_Type) String ¶
func (x Discovery_Type) String() string
func (*Discovery_Type) UnmarshalJSON ¶
func (x *Discovery_Type) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.