pb

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: Apache-2.0 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 ReqMessage

type ReqMessage struct {
	ReqId  uint32            `protobuf:"varint,1,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
	Obj    string            `protobuf:"bytes,2,opt,name=obj,proto3" json:"obj,omitempty"`
	Func   string            `protobuf:"bytes,3,opt,name=func,proto3" json:"func,omitempty"`
	Header map[string]string `` /* 153-byte string literal not displayed */
	Data   []byte            `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ReqMessage) Descriptor deprecated

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

Deprecated: Use ReqMessage.ProtoReflect.Descriptor instead.

func (*ReqMessage) GetData

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

func (*ReqMessage) GetFunc

func (x *ReqMessage) GetFunc() string

func (*ReqMessage) GetHeader

func (x *ReqMessage) GetHeader() map[string]string

func (*ReqMessage) GetObj

func (x *ReqMessage) GetObj() string

func (*ReqMessage) GetReqId

func (x *ReqMessage) GetReqId() uint32

func (*ReqMessage) ProtoMessage

func (*ReqMessage) ProtoMessage()

func (*ReqMessage) ProtoReflect

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

func (*ReqMessage) Reset

func (x *ReqMessage) Reset()

func (*ReqMessage) String

func (x *ReqMessage) String() string

type RespMessage

type RespMessage struct {
	ReqId  uint32            `protobuf:"varint,1,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
	Obj    string            `protobuf:"bytes,2,opt,name=obj,proto3" json:"obj,omitempty"`
	Func   string            `protobuf:"bytes,3,opt,name=func,proto3" json:"func,omitempty"`
	Header map[string]string `` /* 153-byte string literal not displayed */
	Data   []byte            `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	Code   int32             `protobuf:"zigzag32,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 (*RespMessage) Descriptor deprecated

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

Deprecated: Use RespMessage.ProtoReflect.Descriptor instead.

func (*RespMessage) GetCode

func (x *RespMessage) GetCode() int32

func (*RespMessage) GetData

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

func (*RespMessage) GetDesc

func (x *RespMessage) GetDesc() string

func (*RespMessage) GetFunc

func (x *RespMessage) GetFunc() string

func (*RespMessage) GetHeader

func (x *RespMessage) GetHeader() map[string]string

func (*RespMessage) GetObj

func (x *RespMessage) GetObj() string

func (*RespMessage) GetReqId

func (x *RespMessage) GetReqId() uint32

func (*RespMessage) ProtoMessage

func (*RespMessage) ProtoMessage()

func (*RespMessage) ProtoReflect

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

func (*RespMessage) Reset

func (x *RespMessage) Reset()

func (*RespMessage) String

func (x *RespMessage) String() string

Jump to

Keyboard shortcuts

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