config

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(file string, config *Config, onReload func())

Load loads a config file and reloads it if a SIGHUP is received.

Types

type Config

type Config struct {
	Repositories map[string]string `yaml:"repositories"`
}

Config struct representing the config file.

Jump to

Keyboard shortcuts

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