config

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Converter

type Converter struct {
	From      string `toml:"from"`
	To        string `toml:"to"`
	Command   string `toml:"command"`
	Arguments string `toml:"arguments"`
}

type MyConfig

type MyConfig struct {
	Language         string       `toml:"language"`
	Title            string       `toml:"title"`
	AuthorNameFormat string       `toml:"author_name_format"`
	IndexPath        string       `toml:"index_path"`
	LibraryPath      string       `toml:"library_path"`
	Listen           string       `toml:"listen"`
	FullUrl          string       `toml:"full_url"`
	Converters       []*Converter `toml:"converters"`
}

func Load

func Load() (*MyConfig, error)

Jump to

Keyboard shortcuts

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