config

package
v0.0.0-...-ccbca19 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_DIR      = ".azion"
	DEFAULT_SETTINGS = "settings.toml"
	DEFAULT_METRICS  = "metrics.json"
	DEFAULT_SCHEDULE = "schedule.json"
)

Variables

This section is empty.

Functions

func GetPath

func GetPath() string

func SetPath

func SetPath(path string) error

Types

type Config

type Config interface {
	GetString(key string) string
}

type DirPath

type DirPath struct {
	Dir      string
	Settings string
	Metrics  string
	Schedule string
}

func Dir

func Dir() (DirPath, error)

Jump to

Keyboard shortcuts

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