config

package
v0.0.0-...-91206c6 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(s string) (*config.Config, error)

TODO: Use io.Reader instead of string.

func ParseFile

func ParseFile(path string) (*config.Config, error)

func SaveState

func SaveState(p string, st *State) error

Types

type State

type State struct {
	Volume int
}

func LoadState

func LoadState(path string) (*State, error)

Jump to

Keyboard shortcuts

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