pb

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Packet

type Packet struct {
	SequenceId           uint32   `protobuf:"varint,1,opt,name=sequence_id,json=sequenceId,proto3" json:"sequence_id,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	AckStartSeq          []uint32 `protobuf:"varint,3,rep,packed,name=ack_start_seq,json=ackStartSeq,proto3" json:"ack_start_seq,omitempty"`
	AckSeqCount          []uint32 `protobuf:"varint,4,rep,packed,name=ack_seq_count,json=ackSeqCount,proto3" json:"ack_seq_count,omitempty"`
	BytesRead            uint64   `protobuf:"varint,5,opt,name=bytes_read,json=bytesRead,proto3" json:"bytes_read,omitempty"`
	ClientIds            []string `protobuf:"bytes,6,rep,name=client_ids,json=clientIds,proto3" json:"client_ids,omitempty"`
	WindowSize           uint32   `protobuf:"varint,7,opt,name=window_size,json=windowSize,proto3" json:"window_size,omitempty"`
	Mtu                  uint32   `protobuf:"varint,8,opt,name=mtu,proto3" json:"mtu,omitempty"`
	Close                bool     `protobuf:"varint,9,opt,name=close,proto3" json:"close,omitempty"`
	Handshake            bool     `protobuf:"varint,10,opt,name=handshake,proto3" json:"handshake,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Packet) Descriptor

func (*Packet) Descriptor() ([]byte, []int)

func (*Packet) GetAckSeqCount

func (m *Packet) GetAckSeqCount() []uint32

func (*Packet) GetAckStartSeq

func (m *Packet) GetAckStartSeq() []uint32

func (*Packet) GetBytesRead

func (m *Packet) GetBytesRead() uint64

func (*Packet) GetClientIds

func (m *Packet) GetClientIds() []string

func (*Packet) GetClose

func (m *Packet) GetClose() bool

func (*Packet) GetData

func (m *Packet) GetData() []byte

func (*Packet) GetHandshake

func (m *Packet) GetHandshake() bool

func (*Packet) GetMtu

func (m *Packet) GetMtu() uint32

func (*Packet) GetSequenceId

func (m *Packet) GetSequenceId() uint32

func (*Packet) GetWindowSize

func (m *Packet) GetWindowSize() uint32

func (*Packet) ProtoMessage

func (*Packet) ProtoMessage()

func (*Packet) Reset

func (m *Packet) Reset()

func (*Packet) String

func (m *Packet) String() string

func (*Packet) XXX_DiscardUnknown

func (m *Packet) XXX_DiscardUnknown()

func (*Packet) XXX_Marshal

func (m *Packet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Packet) XXX_Merge

func (dst *Packet) XXX_Merge(src proto.Message)

func (*Packet) XXX_Size

func (m *Packet) XXX_Size() int

func (*Packet) XXX_Unmarshal

func (m *Packet) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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