config

package
v0.0.0-...-d3dfd57 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 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 Client

type Client struct {
	Address string
	Port    int
}

type Config

type Config struct {
	MPD               Client `toml:"Client"`
	MusicDirectory    string
	PlaylistDirectory string
	LyricsDirectory   string
	DbConfig          DatabaseConfig `toml:"Database"`
}

func ReadConfig

func ReadConfig() *Config

type DatabaseConfig

type DatabaseConfig struct {
	Path string
}

Jump to

Keyboard shortcuts

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