pb

package
v0.0.0-...-d451284 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2021 License: MIT Imports: 9 Imported by: 0

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) Descriptor() ([]byte, []int)

Deprecated: Use GenResp.ProtoReflect.Descriptor instead.

func (*GenResp) GetId

func (x *GenResp) GetId() string

func (*GenResp) ProtoMessage

func (*GenResp) ProtoMessage()

func (*GenResp) ProtoReflect

func (x *GenResp) ProtoReflect() protoreflect.Message

func (*GenResp) Reset

func (x *GenResp) Reset()

func (*GenResp) String

func (x *GenResp) String() string

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.

type IDGenServiceServer

type IDGenServiceServer interface {
	Get(context.Context, *emptypb.Empty) (*GenResp, error)
}

IDGenServiceServer is the server API for IDGenService service.

type UnimplementedIDGenServiceServer

type UnimplementedIDGenServiceServer struct {
}

UnimplementedIDGenServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedIDGenServiceServer) Get

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL