Documentation ¶
Index ¶
- func New(cron *scheduler.Scheduler, metric metrics.Metric, log log.Logger, ...) lava.GrpcRouter
- func NewHttp111(cron *scheduler.Scheduler, metric metrics.Metric, log log.Logger, ...) lava.HttpRouter
- type Id
- func (id *Id) Chat(server gidpb.Id_ChatServer) error
- func (id *Id) Chat1(server gidpb.Id_Chat1Server) error
- func (id *Id) Generate(ctx context.Context, req *gidpb.GenerateRequest) (*gidpb.GenerateResponse, error)
- func (id *Id) Init()
- func (id *Id) Middlewares() []lava.Middleware
- func (id *Id) RegisterGateway(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) error
- func (id *Id) ServiceDesc() *grpc.ServiceDesc
- func (id *Id) TypeStream(request *gidpb.TypesRequest, server gidpb.Id_TypeStreamServer) error
- func (id *Id) Types(ctx context.Context, req *gidpb.TypesRequest) (*gidpb.TypesResponse, error)
- func (id *Id) UploadDownload(ctx context.Context, request *gidpb.UploadFileRequest) (*httpbody.HttpBody, error)
- type IdHttp
- type IdHttp111
- type Rsp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cron *scheduler.Scheduler, metric metrics.Metric, log log.Logger, service *gid_client.Service) lava.GrpcRouter
func NewHttp111 ¶
func NewHttp111(cron *scheduler.Scheduler, metric metrics.Metric, log log.Logger, service *gid_client.Service) lava.HttpRouter
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() []lava.Middleware
func (*Id) RegisterGateway ¶
func (*Id) ServiceDesc ¶
func (id *Id) ServiceDesc() *grpc.ServiceDesc
func (*Id) TypeStream ¶
func (id *Id) TypeStream(request *gidpb.TypesRequest, server gidpb.Id_TypeStreamServer) error
func (*Id) Types ¶
func (id *Id) Types(ctx context.Context, req *gidpb.TypesRequest) (*gidpb.TypesResponse, error)
func (*Id) UploadDownload ¶
type IdHttp ¶
type IdHttp struct {
// contains filtered or unexported fields
}
func (*IdHttp) Middlewares ¶
func (id *IdHttp) Middlewares() []lava.Middleware
type IdHttp111 ¶
type IdHttp111 struct {
// contains filtered or unexported fields
}
func (*IdHttp111) Middlewares ¶
func (id *IdHttp111) Middlewares() []lava.Middleware
Click to show internal directories.
Click to hide internal directories.