conf

package
v0.0.0-...-04ac836 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Current = &Config{}

Functions

This section is empty.

Types

type Config

type Config struct {
	ServiceURL      string
	RootURLPattern  string
	UseRelativeRoot bool
	DebugVerbose    bool
	DBPath          string
	TmpInfo         string
	VueLibName      string
	VideoDir        string
	MusicDir        string
	SoundCloud      SoundCloud
	Player          Player
}

func ReadConfig

func ReadConfig(configfile string) *Config

type Player

type Player struct {
	Path   string
	Params string
}

type SoundCloud

type SoundCloud struct {
	CfgFile     string
	IsAvailable bool
	ClientID    string
	AuthToken   string
	UserAgent   string
}

Jump to

Keyboard shortcuts

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