commonpb

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT 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 OnErr

type OnErr struct {
	Code  uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

client <=== server @comment("错误监听","10001","OnErr","OnErr")

func (*OnErr) Descriptor deprecated

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

Deprecated: Use OnErr.ProtoReflect.Descriptor instead.

func (*OnErr) GetCode

func (x *OnErr) GetCode() uint32

func (*OnErr) GetError

func (x *OnErr) GetError() string

func (*OnErr) ProtoMessage

func (*OnErr) ProtoMessage()

func (*OnErr) ProtoReflect

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

func (*OnErr) Reset

func (x *OnErr) Reset()

func (*OnErr) String

func (x *OnErr) String() string

Jump to

Keyboard shortcuts

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