config

package
v0.0.0-...-8bb615b Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Unlicense Imports: 2 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 {
	Rewrites []Rewrite `yaml:"rewrites"`
}

func Load

func Load(filename string) (Config, error)

type Rewrite

type Rewrite struct {
	Name        string   `yaml:"name"`
	Destination string   `yaml:"destination"`
	Distro      string   `yaml:"distro,omitempty"`
	Urls        []string `yaml:"urls,omitempty"`
	Filename    string   `yaml:"filename,omitempty"`
}

Jump to

Keyboard shortcuts

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