Help us shape the future of Go! Take the 2026 Go Developer Survey

etcd

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2015 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeySeperator = "/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdBackend

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

func New

func New(namespace, address string) *EtcdBackend

func (*EtcdBackend) GetGroup

func (e *EtcdBackend) GetGroup(group string) (map[string][]byte, error)

func (*EtcdBackend) GetVariable

func (e *EtcdBackend) GetVariable(group, variable string) ([]byte, error)

func (*EtcdBackend) RemoveGroup

func (e *EtcdBackend) RemoveGroup(group string) error

func (*EtcdBackend) RemoveVariable

func (e *EtcdBackend) RemoveVariable(group, variable string) error

func (*EtcdBackend) SetVariable

func (e *EtcdBackend) SetVariable(group, variable string, value []byte) error

Jump to

Keyboard shortcuts

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