settings

package
v0.0.0-...-1c5219f Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	Account struct {
		APIKey string
	}

	Settings struct {
		StreamlistKey string
	}

	Player struct {
		Volume            int
		LastPlayedChannel string
	}
}

Settings holds the settings variables that are persisted to disk

func Load

func Load() (*Settings, error)

Load loads settings variables from disk

func (*Settings) Save

func (c *Settings) Save() error

Save saves the settings to disk in yaml format

Jump to

Keyboard shortcuts

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