controller

package
v0.0.0-...-6b3b694 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

func RegisterIntake

func RegisterIntake(serv *grpc.Server, deps IntakeDeps)

func RegisterLive

func RegisterLive(app *fiber.App, deps LiveDeps)

Types

type Intake

func (*Intake) PushMatrixBatch

func (c *Intake) PushMatrixBatch(ctx context.Context, req *pb.MatrixBatchRequest) (*pb.MatrixBatchACK, error)

func (*Intake) PushReportBatch

func (c *Intake) PushReportBatch(ctx context.Context, req *pb.ReportBatchRequest) (*pb.ReportBatchACK, error)

type IntakeDeps

type IntakeDeps struct {
	fx.In

	DropSet *lhcore.DropSet
}

type Live

type Live struct {
	LiveDeps
}

func (*Live) Handle

func (c *Live) Handle(ctx *fiber.Ctx) error

type LiveDeps

type LiveDeps struct {
	fx.In

	Service *service.Live
}

Jump to

Keyboard shortcuts

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