config

package
v0.0.0-...-ed7e1dd Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName   string = "strip-beats"
	Version   string = "0.1.1"
	Url       string = "https://codeberg.org/danjones000/strip-beats"
	Email     string = "danjones@goodevilgenius.org"
	UserAgent string = AppName + "/" + Version + " (" + Url + "; " + Email + ")"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Source           string            `toml:"source"`
	SourceExtensions []string          `toml:"source_ext"`
	Recurse          bool              `toml:"recurse"`
	SavePath         string            `toml:"save_path"`
	MusicPath        string            `toml:"music_path"`
	Codec            string            `toml:"codec"`
	FfEncoder        string            `toml:"ff_encoder"`
	AllowedCodecs    []string          `toml:"allowed_codec"`
	CodecExt         map[string]string `toml:"codec_ext"`
	AcousticIdKey    string            `toml:"acoustic_id_key"`
	AcousticUserKey  string            `toml:"acoustic_user_key"`
}

func GetConfig

func GetConfig() Config

Jump to

Keyboard shortcuts

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