common

package
v0.0.51 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ByteString

type ByteString struct {
	Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
	// contains filtered or unexported fields
}

message representing a group of bytes to transfer.

func (*ByteString) Descriptor deprecated

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

Deprecated: Use ByteString.ProtoReflect.Descriptor instead.

func (*ByteString) GetChunk

func (x *ByteString) GetChunk() []byte

func (*ByteString) ProtoMessage

func (*ByteString) ProtoMessage()

func (*ByteString) ProtoReflect

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

func (*ByteString) Reset

func (x *ByteString) Reset()

func (*ByteString) String

func (x *ByteString) String() string

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

message representing an empty message. this contains no content.

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type StatusMessage

type StatusMessage struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

message representing a status return. this will contain a code and message.

func (*StatusMessage) Descriptor deprecated

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

Deprecated: Use StatusMessage.ProtoReflect.Descriptor instead.

func (*StatusMessage) GetCode

func (x *StatusMessage) GetCode() int32

func (*StatusMessage) GetMessage

func (x *StatusMessage) GetMessage() string

func (*StatusMessage) ProtoMessage

func (*StatusMessage) ProtoMessage()

func (*StatusMessage) ProtoReflect

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

func (*StatusMessage) Reset

func (x *StatusMessage) Reset()

func (*StatusMessage) String

func (x *StatusMessage) String() string

Jump to

Keyboard shortcuts

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