grpcimpl

package
v0.0.0-...-5c9bec8 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllocServiceDesc = grpc.ServiceDesc{
	ServiceName: "com.github.imkuqin_zw.uuid_generator.api.Alloc",
	HandlerType: (*api.AllocServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FetchNext",
			Handler:    _Alloc_FetchNext_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/seqsvr.proto",
}
View Source
var SegmentServiceDesc = grpc.ServiceDesc{
	ServiceName: "com.github.imkuqin_zw.uuid_generator.api.Segment",
	HandlerType: (*api.SegmentServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FetchNext",
			Handler:    _Segment_FetchNext_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/segment.proto",
}
View Source
var SnowflakeServiceDesc = grpc.ServiceDesc{
	ServiceName: "com.github.imkuqin_zw.uuid_generator.api.Snowflake",
	HandlerType: (*api.SnowflakeServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FetchNext",
			Handler:    _Snowflake_FetchNext_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/snowflake.proto",
}

Functions

func NewAllocClient

func NewAllocClient(cc grpc.ClientConnInterface) api.AllocClient

func NewSegmentClient

func NewSegmentClient(cc grpc.ClientConnInterface) api.SegmentClient

Types

This section is empty.

Jump to

Keyboard shortcuts

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