Documentation
¶
Index ¶
Constants ¶
View Source
const ApplicationName string = "a7-journal"
Variables ¶
View Source
var ( Home string = os.Getenv("HOME") XdgConfigHome string = os.Getenv("XDG_CONFIG_HOME") AppConfDir string = ".a7-journal" ConfFileName string = "conf.ini" SshPath string = filepath.Join(Home, ".ssh") ErrHomeConfigEnvVarNotSetError error = errors.New("home and xdg_config_home are not set") )
Functions ¶
func BuildConfPath ¶
Types ¶
type Conf ¶
type Conf struct {
JournalPath string
SshKeyFile string
SshPubKey string
FirstSetup bool
Encrypt bool
}
func (*Conf) CreateJournalPath ¶
func (*Conf) JournalPathExists ¶
func (*Conf) SaveConfig ¶
Click to show internal directories.
Click to hide internal directories.