conf

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	JournalsFolder string
	RefreshRateMS  int
}

Conf is the app config

func LoadConf

func LoadConf() Conf

LoadConf loads the config from the yaml file

func (Conf) ExpandJournalFolderPath

func (c Conf) ExpandJournalFolderPath() string

ExpandJournalFolderPath expands any env variables in the journal folder path.

Jump to

Keyboard shortcuts

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