store

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver interface {
	// Name returns a human-readable name of the driver
	Name() string
	// Read reads all the configurations from store
	Read() (map[string]interface{}, error)
	// Write writes the configurations to store, the configurations can be
	// part of all
	Write(map[string]interface{}) error
}

Driver defines methods that a configuration store driver must implement

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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