Help us shape the future of Go! Take the 2026 Go Developer Survey

requestpb

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 5 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 []*HashedRequest `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() []*HashedRequest

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 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) Descriptor() ([]byte, []int)

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetClientId

func (x *Request) GetClientId() string

func (*Request) GetData

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

func (*Request) GetReqNo

func (x *Request) GetReqNo() uint64

func (*Request) GetType

func (x *Request) GetType() 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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