config

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MachineName string                     `json:"machine_name" default:""`
	Notifiers   []notifier.Config          `json:"notifiers"`
	Alert       alert.Config               `json:"alert" default:"{}"`
	Scrapers    map[string]provider.Config `json:"scrapers"`
	CachePath   string                     `json:"cache"`
}

func LoadConfiguration

func LoadConfiguration(configPath string) Config

Jump to

Keyboard shortcuts

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