Documentation ¶
Index ¶
- Variables
- type Payload
- func (*Payload) Descriptor() ([]byte, []int)
- func (m *Payload) GetConnections() uint64
- func (m *Payload) GetId() []byte
- func (m *Payload) GetPadding() []byte
- func (m *Payload) GetRate() uint64
- func (m *Payload) GetSize_() uint64
- func (m *Payload) GetTime() time.Time
- func (m *Payload) Marshal() (dAtA []byte, err error)
- func (m *Payload) MarshalTo(dAtA []byte) (int, error)
- func (m *Payload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Payload) ProtoMessage()
- func (m *Payload) Reset()
- func (m *Payload) Size() (n int)
- func (m *Payload) String() string
- func (m *Payload) Unmarshal(dAtA []byte) error
- func (m *Payload) XXX_DiscardUnknown()
- func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Payload) XXX_Merge(src proto.Message)
- func (m *Payload) XXX_Size() int
- func (m *Payload) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Payload ¶
type Payload struct { Connections uint64 `protobuf:"varint,1,opt,name=connections,proto3" json:"connections,omitempty"` Rate uint64 `protobuf:"varint,2,opt,name=rate,proto3" json:"rate,omitempty"` Size_ uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Time time.Time `protobuf:"bytes,4,opt,name=time,proto3,stdtime" json:"time"` Id []byte `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` Padding []byte `protobuf:"bytes,6,opt,name=padding,proto3" json:"padding,omitempty"` }
Payload is the structure of the loadtime transaction. Proto has a compact encoded representation, making it ideal for the loadtime usecase which aims to keep the generated transactions small.
func (*Payload) Descriptor ¶
func (*Payload) GetConnections ¶
func (*Payload) GetPadding ¶
func (*Payload) MarshalToSizedBuffer ¶
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
func (*Payload) XXX_DiscardUnknown ¶
func (m *Payload) XXX_DiscardUnknown()
func (*Payload) XXX_Marshal ¶
func (*Payload) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.