Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_guuid_proto protoreflect.FileDescriptor
Functions ¶
func NewGuuidEndpoints ¶
func RegisterGuuidHandler ¶
func RegisterGuuidHandler(s server.Server, hdlr GuuidHandler, opts ...server.HandlerOption) error
Types ¶
type GuuidHandler ¶
type GuuidService ¶
type GuuidService interface { // 生成UUID Gen(ctx context.Context, in *emptypb.Empty, opts ...client.CallOption) (*Response, error) }
func NewGuuidService ¶
func NewGuuidService(name string, c client.Client) GuuidService
type Response ¶
type Response struct { Guuid int64 `protobuf:"varint,1,opt,name=guuid,proto3" json:"guuid"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.