config

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: 0BSD Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Form

type Form struct {
	From string `toml:"from"`
	To   string `toml:"to"`
	Then string `toml:"then"`
}
type Header struct {
	Name  string  `toml:"name"`
	Value *string `toml:"value"`
	On    *string `toml:"on"`
}

type Redirect

type Redirect struct {
	From      string `toml:"from"`
	To        string `toml:"to"`
	Permanent bool   `toml:"permanent"`
}

type XmitTOML

type XmitTOML struct {
	Fallback  string     `toml:"fallback"`
	FourOFour string     `toml:"404"`
	Headers   []Header   `toml:"headers"`
	Redirects []Redirect `toml:"redirects"`
	Forms     []Form     `toml:"forms"`
}

Jump to

Keyboard shortcuts

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