config

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultScrapeInterval = time.Minute * 10
	DefaultMetricsAddress = ":9300"
	DefaultRefreshFile    = ".refresh_token.json"

	MystAPIEmailFlag    = "email"
	MystAPIPasswordFlag = "password"
	ScrapeIntervalFlag  = "interval"
	MetricsAddressFlag  = "metrics-address"
	RefreshFileFlag     = "refresh-file"
)

Variables

View Source
var (
	MystAPIEmail    string
	MystAPIPassword string
	ScrapeInterval  time.Duration
	MetricsAddress  string
	RefreshFile     string
)

Functions

func DeclareFlags

func DeclareFlags() []cli.Flag

func SetConfig

func SetConfig(ctx *cli.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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