server

package
v0.0.0-...-a3cd39f Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, cfg Config) error

Start initializes and starts the HTTP server.

Types

type Config

type Config struct {
	Port       string
	Env        string
	CSRFSecret string
	Logger     *slog.Logger
	DB         db.Querier
}

Config holds the configuration for the server.

Jump to

Keyboard shortcuts

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