Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v0.40.22 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package config holds runtime configuration for rivolt.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Addr is the HTTP listen address, e.g. ":8080".
	Addr string
	// DataDir is the directory for the SQLite database and on-disk caches.
	DataDir string
}

Config captures all runtime knobs. Loaded from flags + env in cmd/rivolt.

Jump to

Keyboard shortcuts

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