Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_echo_proto protoreflect.FileDescriptor
Functions ¶
func NewEchoServerEndpoints ¶
func RegisterEchoServerHandler ¶
func RegisterEchoServerHandler(s server.Server, hdlr EchoServerHandler, opts ...server.HandlerOption) error
Types ¶
type EchoServerHandler ¶
type EchoServerService ¶
type EchoServerService interface {
Call(ctx context.Context, in *Ping, opts ...client.CallOption) (*Pong, error)
}
func NewEchoServerService ¶
func NewEchoServerService(name string, c client.Client) EchoServerService
type Ping ¶
type Ping struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*Ping) Descriptor
deprecated
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
func (*Ping) ProtoReflect ¶
func (x *Ping) ProtoReflect() protoreflect.Message
type Pong ¶
type Pong struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*Pong) Descriptor
deprecated
func (*Pong) ProtoMessage ¶
func (*Pong) ProtoMessage()
func (*Pong) ProtoReflect ¶
func (x *Pong) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.