server

package
v0.0.0-...-059fb3b Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: AGPL-3.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsRoute

func AsRoute(f any) any

AsRoute annotates the given constructor to state that it provides a route to the "routes" group.

func Run

func Run(ctx context.Context, cfg Config) (os.Signal, error)

Types

type Config

type Config struct {
	fx.Out
	Tools    tools.Config
	FS       afero.Fs
	Storage  sqlstorage.Config
	Folder   Folder
	Listener router.Config
	HTML     html.Config
	Assets   assets.Config
}

type Folder

type Folder string

Jump to

Keyboard shortcuts

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