config

package
v0.0.0-...-c57cf68 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2015 License: GPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const CONFIG_FILE_NAME = "config.json"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	CsyncVersion() semver.Version
}

type ConfigLocator

type ConfigLocator interface {
	Locate() (string, error)
}

func NewLocator

func NewLocator() ConfigLocator

type Manager

type Manager interface {
	Load() (Config, error)
	Save(Config) error
}

func NewManager

func NewManager(locator ConfigLocator) Manager

type MutableConfig

type MutableConfig interface {
	Config
}

func NewMutableConfig

func NewMutableConfig(csyncVersion semver.Version) MutableConfig

Jump to

Keyboard shortcuts

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