configuration

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigurationDirectory

func GetConfigurationDirectory() (string, error)

GetConfigurationDirectory returns the directory where all state is stored

func SaveConfiguration added in v0.7.1

func SaveConfiguration(toSave Configuration) error

SaveConfiguration saves a configuration to the file

Types

type Configuration added in v0.7.1

type Configuration struct {
	// BaseDirectories stores all the places where configuration files can be found
	BaseDirectories []string
}

Configuration stores general configuration for the proxy

func LoadConfiguration added in v0.7.1

func LoadConfiguration() (*Configuration, error)

LoadConfiguration loads the current user configuration

Jump to

Keyboard shortcuts

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