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
func NewSnowflakeClient ¶
func NewSnowflakeClient(cc grpc.ClientConnInterface) api.SnowflakeClient
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.