consul

package
v0.0.0-...-1903c5f Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsulStorage

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

func Storage

func Storage() (ConsulStorage, error)

func (ConsulStorage) Clean

func (r ConsulStorage) Clean(prefix string) error

func (ConsulStorage) Contains

func (r ConsulStorage) Contains(key string) (bool, error)

func (ConsulStorage) Delete

func (r ConsulStorage) Delete(key string) (bool, error)

func (ConsulStorage) Get

func (r ConsulStorage) Get(key string) (bool, []byte, error)

func (ConsulStorage) Keys

func (r ConsulStorage) Keys() ([]string, error)

func (ConsulStorage) Store

func (r ConsulStorage) Store(key string, value []byte) error

func (ConsulStorage) StoreString

func (r ConsulStorage) StoreString(key string, value string) error

Jump to

Keyboard shortcuts

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