rtconf

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGoogleRtKv

func NewGoogleRtKv(projectId, nameSpace string) (kv.KV, error)

NewGoogleRtKv provides a google runtime configurator backed implementation for kv.KV interface

Types

type RtConf

type RtConf interface {
	// KV defines Set, Get, Delete and Enumerate
	kv.KV

	// Update updates a variable value
	Update(key string, val []byte) error

	// Watch watches for key value changes at times newer
	// than when the watch was started
	Watch(key string) error
}

RtConf defines a runtime config interface.

func NewGoogleRtConf

func NewGoogleRtConf(projectId, nameSpace string) (RtConf, error)

NewGoogleRtConf provides a google runtime configurator backed implementation for RtConf interface

Jump to

Keyboard shortcuts

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