Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_hall_proto protoreflect.FileDescriptor
Functions ¶
func NewRegisteryEndpoints ¶
func RegisterRegisteryHandler ¶
func RegisterRegisteryHandler(s server.Server, hdlr RegisteryHandler, opts ...server.HandlerOption) error
Types ¶
type RegisteryHandler ¶
type RegisteryHandler interface {
Ping(context.Context, *RegisteryRequest, *RegisteryResponse) error
}
type RegisteryRequest ¶
type RegisteryRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RegisteryRequest) Descriptor
deprecated
func (*RegisteryRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisteryRequest.ProtoReflect.Descriptor instead.
func (*RegisteryRequest) GetName ¶
func (x *RegisteryRequest) GetName() string
func (*RegisteryRequest) ProtoMessage ¶
func (*RegisteryRequest) ProtoMessage()
func (*RegisteryRequest) ProtoReflect ¶
func (x *RegisteryRequest) ProtoReflect() protoreflect.Message
func (*RegisteryRequest) Reset ¶
func (x *RegisteryRequest) Reset()
func (*RegisteryRequest) String ¶
func (x *RegisteryRequest) String() string
type RegisteryResponse ¶
type RegisteryResponse struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*RegisteryResponse) Descriptor
deprecated
func (*RegisteryResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisteryResponse.ProtoReflect.Descriptor instead.
func (*RegisteryResponse) GetMsg ¶
func (x *RegisteryResponse) GetMsg() string
func (*RegisteryResponse) ProtoMessage ¶
func (*RegisteryResponse) ProtoMessage()
func (*RegisteryResponse) ProtoReflect ¶
func (x *RegisteryResponse) ProtoReflect() protoreflect.Message
func (*RegisteryResponse) Reset ¶
func (x *RegisteryResponse) Reset()
func (*RegisteryResponse) String ¶
func (x *RegisteryResponse) String() string
type RegisteryService ¶
type RegisteryService interface {
Ping(ctx context.Context, in *RegisteryRequest, opts ...client.CallOption) (*RegisteryResponse, error)
}
func NewRegisteryService ¶
func NewRegisteryService(name string, c client.Client) RegisteryService
Click to show internal directories.
Click to hide internal directories.