pb

package
v0.0.0-...-e4fe77d Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Message

type Message struct {
	RequestId uint32            `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Obj       string            `protobuf:"bytes,2,opt,name=obj,proto3" json:"obj,omitempty"`
	Method    string            `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	Meta      map[string]string `` /* 149-byte string literal not displayed */
	Body      []byte            `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
	Code      int32             `protobuf:"varint,6,opt,name=code,proto3" json:"code,omitempty"`
	Desc      string            `protobuf:"bytes,7,opt,name=desc,proto3" json:"desc,omitempty"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetBody

func (x *Message) GetBody() []byte

func (*Message) GetCode

func (x *Message) GetCode() int32

func (*Message) GetDesc

func (x *Message) GetDesc() string

func (*Message) GetMeta

func (x *Message) GetMeta() map[string]string

func (*Message) GetMethod

func (x *Message) GetMethod() string

func (*Message) GetObj

func (x *Message) GetObj() string

func (*Message) GetRequestId

func (x *Message) GetRequestId() uint32

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

Jump to

Keyboard shortcuts

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