config

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultConfigFileName = ".graven.yaml"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig() Config

func (Config) Get

func (c Config) Get(group, name string) string

func (Config) Read

func (c Config) Read() error

func (Config) Set

func (c Config) Set(group, name string, value string)

func (Config) SetSecret added in v0.5.0

func (c Config) SetSecret(group, name, prompt string) error

func (Config) Write

func (c Config) Write() error

Jump to

Keyboard shortcuts

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