requestpb

package
v0.0.0-...-bd4e2c0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 []*RequestRef `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*Batch) Descriptor deprecated

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

Deprecated: Use Batch.ProtoReflect.Descriptor instead.

func (*Batch) GetRequests

func (x *Batch) GetRequests() []*RequestRef

func (*Batch) ProtoMessage

func (*Batch) ProtoMessage()

func (*Batch) ProtoReflect

func (x *Batch) ProtoReflect() protoreflect.Message

func (*Batch) Reset

func (x *Batch) Reset()

func (*Batch) String

func (x *Batch) String() string

type Request

type Request struct {
	ClientId      uint64 `protobuf:"varint,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"`
	Data          []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Authenticator []byte `protobuf:"bytes,4,opt,name=authenticator,proto3" json:"authenticator,omitempty"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetAuthenticator

func (x *Request) GetAuthenticator() []byte

func (*Request) GetClientId

func (x *Request) GetClientId() uint64

func (*Request) GetData

func (x *Request) GetData() []byte

func (*Request) GetReqNo

func (x *Request) GetReqNo() uint64

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type RequestRef

type RequestRef struct {
	ClientId uint64 `protobuf:"varint,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"`
	Digest   []byte `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestRef) Descriptor deprecated

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

Deprecated: Use RequestRef.ProtoReflect.Descriptor instead.

func (*RequestRef) GetClientId

func (x *RequestRef) GetClientId() uint64

func (*RequestRef) GetDigest

func (x *RequestRef) GetDigest() []byte

func (*RequestRef) GetReqNo

func (x *RequestRef) GetReqNo() uint64

func (*RequestRef) ProtoMessage

func (*RequestRef) ProtoMessage()

func (*RequestRef) ProtoReflect

func (x *RequestRef) ProtoReflect() protoreflect.Message

func (*RequestRef) Reset

func (x *RequestRef) Reset()

func (*RequestRef) String

func (x *RequestRef) String() string

Jump to

Keyboard shortcuts

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