config

package
v2.0.0-...-a3b022e Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigFS embed.FS

Functions

func LoadExhibitConfig

func LoadExhibitConfig(fSys fs.FS, fp string, conf *ExhibitConfig) error

Types

type ExhibitConfig

type ExhibitConfig struct {
	LogFile          string              `toml:"logfile"`
	LogLevel         string              `toml:"loglevel"`
	BrowserTimeout   configutil.Duration `toml:"browsertimeout"`
	BrowserURL       string              `toml:"browserurl"`
	BrowserTaskDelay configutil.Duration `toml:"browsertaskdelay"`
	StartTimeout     configutil.Duration `toml:"starttimeout"`
	AllowedPrefixes  []string            `toml:"allowedprefixes"`
}

Jump to

Keyboard shortcuts

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