Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_services_services_proto protoreflect.FileDescriptor
Functions ¶
func NewServicesEndpoints ¶ added in v1.2.0
func RegisterServicesHandler ¶
func RegisterServicesHandler(s server.Server, hdlr ServicesHandler, opts ...server.HandlerOption) error
Types ¶
type Ping ¶
type Ping struct { Stroke int64 `protobuf:"varint,1,opt,name=stroke,proto3" json:"stroke,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 { Stroke int64 `protobuf:"varint,1,opt,name=stroke,proto3" json:"stroke,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
type ServicesHandler ¶
type ServicesService ¶
type ServicesService interface {
PingPong(ctx context.Context, in *Ping, opts ...client.CallOption) (*Pong, error)
}
func NewServicesService ¶
func NewServicesService(name string, c client.Client) ServicesService
Click to show internal directories.
Click to hide internal directories.