config

package
v0.0.0-...-c20b720 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 3 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 {
	Modules []*Module `yaml:"modules"`
}

func (*Config) Load

func (c *Config) Load(path string) error

LoadConfig loads the config file

type Module

type Module struct {
	Package  string  `yaml:"package"`
	Type     string  `yaml:"type"`
	Target   string  `yaml:"target"`
	Sources  sources `yaml:"sources,omitempty"`
	Redirect string  `yaml:"redirect,omitempty"`
}

Jump to

Keyboard shortcuts

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