...

Package conf

import "github.com/go-kivik/kivik/v4/x/kivikd/conf"
Overview
Index

Overview ▾

Package conf manages configuration for kivikd.

type Conf

Conf represents a loaded configuration.

type Conf struct {
    *viper.Viper
}

func Load

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

Load loads the specified config file.

func New

func New() *Conf

New returns an empty Conf.