config

package
v0.0.0-...-2a78d83 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvPrefix      = "ETCDSH_"
	DefaultMachine = "http://127.0.0.1:4001"
	DefaultColors  = false
	DefaultPS1     = "\\u@etcd:\\w\\$ "
	DefaultPS2     = "> "
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Machine string
	Colors  bool
	PS1     string
	PS2     string
}

Represents configuration file values.

func New

func New() *Config

Creates a new Config instance.

Jump to

Keyboard shortcuts

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