configuration

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigurationDirectory

func GetConfigurationDirectory() (string, error)

GetConfigurationDirectory finds where the configuration directory is

func LoadFromPersistedState added in v1.0.0

func LoadFromPersistedState() error

LoadFromPersistedState initializes the current configuration from the persisted state

func SaveToPersistedState added in v1.0.0

func SaveToPersistedState() error

SaveToPersistedState saves the current state to the persisted state file in the configuration directory

Types

type Configuration

type Configuration struct {
	Listeners map[int]listener.Listener
}

Configuration represents a configuration state for the proxy

Jump to

Keyboard shortcuts

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