rpc

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Copyright (C) BABEC. All rights reserved.

SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

View Source
var File_res_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type R

type R struct {
	Code int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*R) Descriptor deprecated

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

Deprecated: Use R.ProtoReflect.Descriptor instead.

func (*R) GetCode

func (x *R) GetCode() int32

func (*R) GetData

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

func (*R) GetMsg

func (x *R) GetMsg() string

func (*R) ProtoMessage

func (*R) ProtoMessage()

func (*R) ProtoReflect

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

func (*R) Reset

func (x *R) Reset()

func (*R) String

func (x *R) String() string

func (*R) Success

func (r *R) Success() bool

type Test

type Test struct {
	Aaa int32   `protobuf:"varint,1,opt,name=aaa,proto3" json:"aaa,omitempty"`
	Bbb string  `protobuf:"bytes,2,opt,name=bbb,proto3" json:"bbb,omitempty"`
	Ccc []int64 `protobuf:"varint,3,rep,packed,name=ccc,proto3" json:"ccc,omitempty"`
	// contains filtered or unexported fields
}

func (*Test) Descriptor deprecated

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

Deprecated: Use Test.ProtoReflect.Descriptor instead.

func (*Test) GetAaa

func (x *Test) GetAaa() int32

func (*Test) GetBbb

func (x *Test) GetBbb() string

func (*Test) GetCcc

func (x *Test) GetCcc() []int64

func (*Test) ProtoMessage

func (*Test) ProtoMessage()

func (*Test) ProtoReflect

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

func (*Test) Reset

func (x *Test) Reset()

func (*Test) String

func (x *Test) String() string

Jump to

Keyboard shortcuts

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