oldregistry

package
v0.0.0-...-13b5bb1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKeystore

func NewKeystore() *etcKeystore

Types

type BufferRegistry

type BufferRegistry interface {
	Close() error
	ClearAllData()
	AddBuffer(id int)
	AddSlice(id int, s string)
	AddMountpoint(id string, mountpoint string)
	WatchNewBuffer(callback func(string, string))
	WatchNewSlice(callback func(key string, value string))
	WatchNewReady(callback func(key string, value string))
}

func NewBufferRegistry

func NewBufferRegistry() BufferRegistry

type Keystore

type Keystore interface {
	Close() error
	CleanPrefix(prefix string)
	AtomicAdd(key string, value string)
	WatchPutPrefix(prefix string, onPut func(string, string))
}

Jump to

Keyboard shortcuts

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