config

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2015 License: Apache-2.0, Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckConfig added in v0.14.1

func CheckConfig(root string, k string) error

CheckConfig looks for a value at a keyspace path and returns an error if a value is not found

func Config

func Config(args map[string]interface{}) error

Config runs the config subcommand

Types

type Client

type Client interface {
	Get(string) (string, error)
	Set(string) (string, error)
}

Client interface used for configuration

Jump to

Keyboard shortcuts

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