app

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateConfig added in v1.2.0

func ValidateConfig(ctx context.Context, configPath string) error

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func New

func New(parent context.Context, cfg *config.Config, configPath string, logger *slog.Logger) (*App, error)

func (*App) Close

func (a *App) Close()

func (*App) Reload

func (a *App) Reload() error

func (*App) Run

func (a *App) Run() error

func (*App) ServeHTTP

func (a *App) ServeHTTP(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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