config

package
v0.0.0-...-553821e Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(p Provider) error

Types

type Paerser

type Paerser struct {
	// contains filtered or unexported fields
}

func NewPaerser

func NewPaerser(args []string, configFile string) *Paerser

func (*Paerser) Config

func (p *Paerser) Config() *models.Config

func (*Paerser) Parse

func (p *Paerser) Parse() (err error)

type Provider

type Provider interface {
	Config() *oldconfig.Config
	Parse() error
}

type ValidationError

type ValidationError interface {
	error
	Key() string
}

Jump to

Keyboard shortcuts

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