Documentation ¶
Index ¶
- func New(srv gidsrv.Service, cron *scheduler.Scheduler, m metric.Metric) service.GrpcHandler
- type Id
- func (id *Id) Generate(ctx context.Context, req *gidpb.GenerateRequest) (*gidpb.GenerateResponse, error)
- func (id *Id) Init()
- func (id *Id) Middlewares() []service.Middleware
- func (id *Id) ServiceDesc() *grpc.ServiceDesc
- func (id *Id) TwirpHandler(opts ...interface{}) http.Handler
- func (id *Id) Types(ctx context.Context, req *gidpb.TypesRequest) (*gidpb.TypesResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Id ¶
type Id struct {
// contains filtered or unexported fields
}
func (*Id) Generate ¶
func (id *Id) Generate(ctx context.Context, req *gidpb.GenerateRequest) (*gidpb.GenerateResponse, error)
func (*Id) Middlewares ¶
func (id *Id) Middlewares() []service.Middleware
func (*Id) ServiceDesc ¶
func (id *Id) ServiceDesc() *grpc.ServiceDesc
func (*Id) TwirpHandler ¶
func (*Id) Types ¶
func (id *Id) Types(ctx context.Context, req *gidpb.TypesRequest) (*gidpb.TypesResponse, error)
Click to show internal directories.
Click to hide internal directories.