Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_idgen_proto protoreflect.FileDescriptor
Functions ¶
func RegisterIDGenServiceServer ¶
func RegisterIDGenServiceServer(s *grpc.Server, srv IDGenServiceServer)
Types ¶
type GenResp ¶
type GenResp struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GenResp) Descriptor
deprecated
func (*GenResp) ProtoMessage ¶
func (*GenResp) ProtoMessage()
func (*GenResp) ProtoReflect ¶
func (x *GenResp) ProtoReflect() protoreflect.Message
type IDGenServiceClient ¶
type IDGenServiceClient interface {
Get(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GenResp, error)
}
IDGenServiceClient is the client API for IDGenService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIDGenServiceClient ¶
func NewIDGenServiceClient(cc grpc.ClientConnInterface) IDGenServiceClient
type IDGenServiceServer ¶
IDGenServiceServer is the server API for IDGenService service.
type UnimplementedIDGenServiceServer ¶
type UnimplementedIDGenServiceServer struct { }
UnimplementedIDGenServiceServer can be embedded to have forward compatible implementations.
Click to show internal directories.
Click to hide internal directories.