frontend

package
v1.12.3 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 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 Dagu
Package restapi Dagu

Jump to

Keyboard shortcuts

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