gid_handler

package
v0.0.0-...-5c62cfe Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 20 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

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

func (id *Id) Init()

func (*Id) Middlewares

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

func (*Id) RegisterGateway

func (id *Id) RegisterGateway(ctx context.Context, mux *runtime.ServeMux, conn grpc.ClientConnInterface) 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)

Jump to

Keyboard shortcuts

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