conf

package
v4.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package conf manages configuration for kivikd.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	*viper.Viper
}

Conf represents a loaded configuration.

func Load

func Load(file string) (*Conf, error)

Load loads the specified config file.

func New

func New() *Conf

New returns an empty Conf.

Jump to

Keyboard shortcuts

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