Documentation
¶
Index ¶
- Variables
- type ProtocolExchangerMsg
- func (*ProtocolExchangerMsg) Descriptor() ([]byte, []int)
- func (m *ProtocolExchangerMsg) GetMsgType() ProtocolExchangerMsg_ProtocolExchangerMsgType
- func (m *ProtocolExchangerMsg) GetPid() string
- func (m *ProtocolExchangerMsg) GetProtocols() []string
- func (m *ProtocolExchangerMsg) Marshal() (dAtA []byte, err error)
- func (m *ProtocolExchangerMsg) MarshalTo(dAtA []byte) (int, error)
- func (m *ProtocolExchangerMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProtocolExchangerMsg) ProtoMessage()
- func (m *ProtocolExchangerMsg) Reset()
- func (m *ProtocolExchangerMsg) Size() (n int)
- func (m *ProtocolExchangerMsg) String() string
- func (m *ProtocolExchangerMsg) Unmarshal(dAtA []byte) error
- func (m *ProtocolExchangerMsg) XXX_DiscardUnknown()
- func (m *ProtocolExchangerMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProtocolExchangerMsg) XXX_Merge(src proto.Message)
- func (m *ProtocolExchangerMsg) XXX_Size() int
- func (m *ProtocolExchangerMsg) XXX_Unmarshal(b []byte) error
- type ProtocolExchangerMsg_ProtocolExchangerMsgType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthProtocolExchanger = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProtocolExchanger = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProtocolExchanger = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
This section is empty.
Types ¶
type ProtocolExchangerMsg ¶
type ProtocolExchangerMsg struct { Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid,omitempty"` Protocols []string `protobuf:"bytes,2,rep,name=protocols,proto3" json:"protocols,omitempty"` MsgType ProtocolExchangerMsg_ProtocolExchangerMsgType `` /* 138-byte string literal not displayed */ }
func (*ProtocolExchangerMsg) Descriptor ¶
func (*ProtocolExchangerMsg) Descriptor() ([]byte, []int)
func (*ProtocolExchangerMsg) GetMsgType ¶
func (m *ProtocolExchangerMsg) GetMsgType() ProtocolExchangerMsg_ProtocolExchangerMsgType
func (*ProtocolExchangerMsg) GetPid ¶
func (m *ProtocolExchangerMsg) GetPid() string
func (*ProtocolExchangerMsg) GetProtocols ¶
func (m *ProtocolExchangerMsg) GetProtocols() []string
func (*ProtocolExchangerMsg) Marshal ¶
func (m *ProtocolExchangerMsg) Marshal() (dAtA []byte, err error)
func (*ProtocolExchangerMsg) MarshalTo ¶
func (m *ProtocolExchangerMsg) MarshalTo(dAtA []byte) (int, error)
func (*ProtocolExchangerMsg) MarshalToSizedBuffer ¶
func (m *ProtocolExchangerMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProtocolExchangerMsg) ProtoMessage ¶
func (*ProtocolExchangerMsg) ProtoMessage()
func (*ProtocolExchangerMsg) Reset ¶
func (m *ProtocolExchangerMsg) Reset()
func (*ProtocolExchangerMsg) Size ¶
func (m *ProtocolExchangerMsg) Size() (n int)
func (*ProtocolExchangerMsg) String ¶
func (m *ProtocolExchangerMsg) String() string
func (*ProtocolExchangerMsg) Unmarshal ¶
func (m *ProtocolExchangerMsg) Unmarshal(dAtA []byte) error
func (*ProtocolExchangerMsg) XXX_DiscardUnknown ¶
func (m *ProtocolExchangerMsg) XXX_DiscardUnknown()
func (*ProtocolExchangerMsg) XXX_Marshal ¶
func (m *ProtocolExchangerMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProtocolExchangerMsg) XXX_Merge ¶
func (m *ProtocolExchangerMsg) XXX_Merge(src proto.Message)
func (*ProtocolExchangerMsg) XXX_Size ¶
func (m *ProtocolExchangerMsg) XXX_Size() int
func (*ProtocolExchangerMsg) XXX_Unmarshal ¶
func (m *ProtocolExchangerMsg) XXX_Unmarshal(b []byte) error
type ProtocolExchangerMsg_ProtocolExchangerMsgType ¶
type ProtocolExchangerMsg_ProtocolExchangerMsgType int32
const ( ProtocolExchangerMsg_PUSH ProtocolExchangerMsg_ProtocolExchangerMsgType = 0 ProtocolExchangerMsg_PUSH_OK ProtocolExchangerMsg_ProtocolExchangerMsgType = 1 ProtocolExchangerMsg_REQUEST ProtocolExchangerMsg_ProtocolExchangerMsgType = 2 ProtocolExchangerMsg_RESPONSE ProtocolExchangerMsg_ProtocolExchangerMsgType = 3 )
func (ProtocolExchangerMsg_ProtocolExchangerMsgType) EnumDescriptor ¶
func (ProtocolExchangerMsg_ProtocolExchangerMsgType) EnumDescriptor() ([]byte, []int)
func (ProtocolExchangerMsg_ProtocolExchangerMsgType) String ¶
func (x ProtocolExchangerMsg_ProtocolExchangerMsgType) String() string
Click to show internal directories.
Click to hide internal directories.