uid

package
v0.0.0-...-14890a0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_uid_proto protoreflect.FileDescriptor

Functions

func RegisterUidServer

func RegisterUidServer(s *grpc.Server, srv UidServer)

Types

type Input

type Input struct {
	Qty int64 `protobuf:"varint,1,opt,name=qty,proto3" json:"qty,omitempty"`
	// contains filtered or unexported fields
}

func (*Input) Descriptor deprecated

func (*Input) Descriptor() ([]byte, []int)

Deprecated: Use Input.ProtoReflect.Descriptor instead.

func (*Input) GetQty

func (x *Input) GetQty() int64

func (*Input) ProtoMessage

func (*Input) ProtoMessage()

func (*Input) ProtoReflect

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

func (*Input) Reset

func (x *Input) Reset()

func (*Input) String

func (x *Input) String() string

type UidClient

type UidClient interface {
	Generate(ctx context.Context, in *Input, opts ...grpc.CallOption) (*empty.Empty, error)
}

UidClient is the client API for Uid service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewUidClient

func NewUidClient(cc grpc.ClientConnInterface) UidClient

type UidServer

type UidServer interface {
	Generate(context.Context, *Input) (*empty.Empty, error)
}

UidServer is the server API for Uid service.

type UnimplementedUidServer

type UnimplementedUidServer struct {
}

UnimplementedUidServer can be embedded to have forward compatible implementations.

func (*UnimplementedUidServer) Generate

Jump to

Keyboard shortcuts

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