config

package
v0.0.0-...-d9d3431 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LSDRoot

func LSDRoot() (string, error)

func LUFSMountDir

func LUFSMountDir() (string, error)

func MountPoint

func MountPoint() (string, error)

func MyGUID

func MyGUID() string

func NodeAliasesToGUIDs

func NodeAliasesToGUIDs() (map[string]string, error)

func NodeGUIDsToAliases

func NodeGUIDsToAliases() (map[string]string, error)

func SetsDir

func SetsDir() (string, error)

func SyncthingKey

func SyncthingKey() (string, error)

func SyncthingURL

func SyncthingURL() (string, error)

Types

type NodeConfig

type NodeConfig struct {
	GUID  string
	Alias string
}

Wrapper functions help the compiler catch incorrect configuration retrieval.

func SyncthingNodes

func SyncthingNodes() ([]NodeConfig, error)

Jump to

Keyboard shortcuts

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