etcd

package
v0.0.0-...-ef924d7 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package etcd reads configuration from etcd

Index

Constants

View Source
const Name = "etcd"

Name contains the adapter registered name

Variables

This section is empty.

Functions

func New

func New(uri *url.URL) (a.Store, error)

New returns a new etcd config adapter

Types

type Store

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

Store reads config from etcd

func (*Store) Load

func (s *Store) Load(config interface{}) error

Load config for the given environment

Jump to

Keyboard shortcuts

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