configdef

package
v0.0.0-...-a53e0fd Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConfigAlreadyExists = xerror.New("config file already exists")

Functions

This section is empty.

Types

type CreateResolver

type CreateResolver interface {
	Creator
	Resolver
}

type Creator

type Creator interface {
	Create() error
}

type Destroyer

type Destroyer interface {
	Destory() error
}

type Resolver

type Resolver interface {
	Resolve() (Values, error)
}

type Values

type Values struct {
	Debug   bool   `json:"debug"`
	RootKey []byte `json:"root_key"`
}

func (Values) RunValidate

func (v Values) RunValidate() error

Jump to

Keyboard shortcuts

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