config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: MIT Imports: 2 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"`
	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