config

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultFile

func DefaultFile() string

func DefaultPath

func DefaultPath() (string, error)

Types

type Config

type Config struct {
	Key     uint
	Sym     Sym
	Retry   time.Duration
	Devices []string
}

func Load

func Load(path string) (Config, error)

func Parse

func Parse(r io.Reader) (c Config, err error)

type Sym

type Sym struct {
	Type string
	Val  string
}

Jump to

Keyboard shortcuts

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