frontend

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Provide(
		fx.Annotate(handlers.NewDAG, fx.ResultTags(`group:"handlers"`))),
	fx.Provide(New),
)

Functions

func LifetimeHooks

func LifetimeHooks(lc fx.Lifecycle, srv *server.Server)

func New

func New(params Params) *server.Server

Types

type Params

type Params struct {
	fx.In

	Config   *config.Config
	Logger   logger.Logger
	Handlers []server.New `group:"handlers"`
}

Directories

Path Synopsis
Package restapi Blackdagger
Package restapi Blackdagger

Jump to

Keyboard shortcuts

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