store

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 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 Adapter

type Adapter func(uri *url.URL) (Store, error)

Adapter returns a new store initialised with the given config

type Store

type Store interface {
	// Load loads the configuration from the store
	Load() (io.ReadCloser, error)
}

Store is an interface for config store

Directories

Path Synopsis
Package consul reads configuration from the Consul KV store
Package consul reads configuration from the Consul KV store
Package file reads configuration from a JSON file
Package file reads configuration from a JSON file

Jump to

Keyboard shortcuts

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