pb

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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")
)
View Source
var ProtocolExchangerMsg_ProtocolExchangerMsgType_name = map[int32]string{
	0: "PUSH",
	1: "PUSH_OK",
	2: "REQUEST",
	3: "RESPONSE",
}
View Source
var ProtocolExchangerMsg_ProtocolExchangerMsgType_value = map[string]int32{
	"PUSH":     0,
	"PUSH_OK":  1,
	"REQUEST":  2,
	"RESPONSE": 3,
}

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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL