Documentation ¶
Index ¶
- Variables
- type Batch
- type HashedRequest
- func (*HashedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HashedRequest) GetDigest() []byte
- func (x *HashedRequest) GetReq() *Request
- func (*HashedRequest) ProtoMessage()
- func (x *HashedRequest) ProtoReflect() protoreflect.Message
- func (x *HashedRequest) Reset()
- func (x *HashedRequest) String() string
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetClientId() string
- func (x *Request) GetData() []byte
- func (x *Request) GetReqNo() uint64
- func (x *Request) GetType() uint64
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_requestpb_requestpb_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct { Requests []*HashedRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*Batch) Descriptor
deprecated
func (*Batch) GetRequests ¶
func (x *Batch) GetRequests() []*HashedRequest
func (*Batch) ProtoMessage ¶
func (*Batch) ProtoMessage()
func (*Batch) ProtoReflect ¶
func (x *Batch) ProtoReflect() protoreflect.Message
type HashedRequest ¶
type HashedRequest struct { Req *Request `protobuf:"bytes,1,opt,name=req,proto3" json:"req,omitempty"` Digest []byte `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` // contains filtered or unexported fields }
func (*HashedRequest) Descriptor
deprecated
func (*HashedRequest) Descriptor() ([]byte, []int)
Deprecated: Use HashedRequest.ProtoReflect.Descriptor instead.
func (*HashedRequest) GetDigest ¶
func (x *HashedRequest) GetDigest() []byte
func (*HashedRequest) GetReq ¶
func (x *HashedRequest) GetReq() *Request
func (*HashedRequest) ProtoMessage ¶
func (*HashedRequest) ProtoMessage()
func (*HashedRequest) ProtoReflect ¶
func (x *HashedRequest) ProtoReflect() protoreflect.Message
func (*HashedRequest) Reset ¶
func (x *HashedRequest) Reset()
func (*HashedRequest) String ¶
func (x *HashedRequest) String() string
type Request ¶
type Request struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ReqNo uint64 `protobuf:"varint,2,opt,name=req_no,json=reqNo,proto3" json:"req_no,omitempty"` Type uint64 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` // TODO not being used at the moment? (only some boilerplate code in pkg/serializing) Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) GetClientId ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.