Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Id ¶
type Id struct {
Snowflake *snowflake.Snowflake
Bigflake *bigflake.Bigflake
Cron *scheduler.Scheduler `dix:""`
Metric metric.Stats `dix:""`
}
func (*Id) Generate ¶
func (id *Id) Generate(ctx context.Context, req *gid.GenerateRequest) (*gid.GenerateResponse, error)
func (*Id) Types ¶
func (id *Id) Types(ctx context.Context, req *gid.TypesRequest) (*gid.TypesResponse, error)
Click to show internal directories.
Click to hide internal directories.