gid_handler

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

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) Chat

func (id *Id) Chat(server gidpb.Id_ChatServer) error

func (*Id) Chat1

func (id *Id) Chat1(server gidpb.Id_Chat1Server) error

func (*Id) Generate

func (id *Id) Generate(ctx context.Context, req *gidpb.GenerateRequest) (*gidpb.GenerateResponse, error)

func (*Id) Init

func (id *Id) Init()

func (*Id) Middlewares

func (id *Id) Middlewares() []lava.Middleware

func (*Id) PutTypes

func (id *Id) PutTypes(ctx context.Context, req *gidpb.TypesRequest) (*gidpb.TypesResponse, error)

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

func (id *Id) UploadDownload(ctx context.Context, request *gidpb.UploadFileRequest) (*httpbody.HttpBody, error)

type IdHttp

type IdHttp struct {
	// contains filtered or unexported fields
}

func (*IdHttp) Annotation

func (id *IdHttp) Annotation() []lava.Annotation

func (*IdHttp) Middlewares

func (id *IdHttp) Middlewares() []lava.Middleware

func (*IdHttp) Prefix

func (id *IdHttp) Prefix() string

func (*IdHttp) Router

func (id *IdHttp) Router(router fiber.Router)

type IdHttp111

type IdHttp111 struct {
	// contains filtered or unexported fields
}

func (*IdHttp111) Annotation

func (id *IdHttp111) Annotation() []lava.Annotation

func (*IdHttp111) Middlewares

func (id *IdHttp111) Middlewares() []lava.Middleware

func (*IdHttp111) Prefix

func (id *IdHttp111) Prefix() string

func (*IdHttp111) Router

func (id *IdHttp111) Router(router fiber.Router)

type Rsp

type Rsp struct {
	SS lava.HttpRouter
}

func NewHttp

func NewHttp(cron *scheduler.Scheduler, metric metrics.Metric, log log.Logger, service *gid_client.Service) Rsp

Jump to

Keyboard shortcuts

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