config

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: BSD-3-Clause, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Path string

Functions

This section is empty.

Types

type Config

type Config struct {
	// Tunnels is a list of tunnel descriptions
	Tunnels []tunnel.Desc `toml:"tunnels"`
	// KeepAlive allows to specify a global keep alive interval,
	// (in seconds) overriding the default one. `0` indicates
	// no keep alive.
	KeepAlive  *int                    `toml:"keep_alive"`
	TunnelsMap map[string]*tunnel.Desc `toml:"-"`
}

Config represents the application configuration as parsed from ./boring.toml

func Load

func Load() (*Config, error)

Load parses the boring configuration file

Jump to

Keyboard shortcuts

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