pb

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_example_api_pb_pb_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ProtoBufReq

type ProtoBufReq struct {
	Id            uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Authorization string `protobuf:"bytes,3,opt,name=Authorization,proto3" json:"Authorization,omitempty"`
	Address       string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtoBufReq) Descriptor deprecated

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

Deprecated: Use ProtoBufReq.ProtoReflect.Descriptor instead.

func (*ProtoBufReq) GetAddress added in v1.3.0

func (x *ProtoBufReq) GetAddress() string

func (*ProtoBufReq) GetAuthorization added in v1.3.0

func (x *ProtoBufReq) GetAuthorization() string

func (*ProtoBufReq) GetId

func (x *ProtoBufReq) GetId() uint64

func (*ProtoBufReq) GetName added in v1.3.0

func (x *ProtoBufReq) GetName() string

func (*ProtoBufReq) ProtoMessage

func (*ProtoBufReq) ProtoMessage()

func (*ProtoBufReq) ProtoReflect

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

func (*ProtoBufReq) Reset

func (x *ProtoBufReq) Reset()

func (*ProtoBufReq) String

func (x *ProtoBufReq) String() string

type ProtoBufResp

type ProtoBufResp struct {
	Id   uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtoBufResp) Descriptor deprecated

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

Deprecated: Use ProtoBufResp.ProtoReflect.Descriptor instead.

func (*ProtoBufResp) GetId

func (x *ProtoBufResp) GetId() uint64

func (*ProtoBufResp) GetName

func (x *ProtoBufResp) GetName() string

func (*ProtoBufResp) ProtoMessage

func (*ProtoBufResp) ProtoMessage()

func (*ProtoBufResp) ProtoReflect

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

func (*ProtoBufResp) Reset

func (x *ProtoBufResp) Reset()

func (*ProtoBufResp) String

func (x *ProtoBufResp) String() string

Jump to

Keyboard shortcuts

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