conf

package module
v0.0.0-...-526f31f Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2014 License: BSD-3-Clause Imports: 0 Imported by: 3

README

conf

A configuration interface writen in Go for general use case

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigObj

type ConfigObj struct {
	Key *string `bson:"_id" json:",omitempty"`
	Val *string `bson:"Val" json:",omitempty"`
}

type Configurator

type Configurator interface {
	Set(key string, val string) error
	UnSet(key string) error
	Get(key string) (string, error)
	SetMulti(map[string]string) error
	UnSetMulti(keys []string) error
	GetMulti(keys []string) (map[string]string, error)
}

Jump to

Keyboard shortcuts

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