config

package
v0.0.0-...-6b2d232 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Snapshotter snapshotter `toml:"snapshotter"`

	Debug debug `toml:"debug"`
}

Config contains metadata necessary to forward snapshotter requests to the destined remote snapshotter.

The default location for the configuration file is '/etc/demux-snapshotter/config.toml'

func Load

func Load(filePath string) (Config, error)

Load parses application configuration from a specified file path.

Jump to

Keyboard shortcuts

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