proto

package
v0.0.0-...-7e69858 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type EchoAck

type EchoAck 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"`
	// contains filtered or unexported fields
}

func (*EchoAck) Descriptor deprecated

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

Deprecated: Use EchoAck.ProtoReflect.Descriptor instead.

func (*EchoAck) GetCode

func (x *EchoAck) GetCode() int32

func (*EchoAck) GetMsg

func (x *EchoAck) GetMsg() string

func (*EchoAck) ProtoMessage

func (*EchoAck) ProtoMessage()

func (*EchoAck) ProtoReflect

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

func (*EchoAck) Reset

func (x *EchoAck) Reset()

func (*EchoAck) String

func (x *EchoAck) String() string

type EchoReq

type EchoReq struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*EchoReq) Descriptor deprecated

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

Deprecated: Use EchoReq.ProtoReflect.Descriptor instead.

func (*EchoReq) GetMsg

func (x *EchoReq) GetMsg() string

func (*EchoReq) ProtoMessage

func (*EchoReq) ProtoMessage()

func (*EchoReq) ProtoReflect

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

func (*EchoReq) Reset

func (x *EchoReq) Reset()

func (*EchoReq) String

func (x *EchoReq) String() string

Jump to

Keyboard shortcuts

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