Allow configurable addresses for everything
This commit is contained in:
@@ -7,8 +7,12 @@ type Store interface {
|
||||
NewItem(string, []byte) Item
|
||||
}
|
||||
|
||||
type options struct{}
|
||||
|
||||
type Options func(*options)
|
||||
|
||||
var (
|
||||
DefaultStore = NewConsulStore()
|
||||
DefaultStore = NewConsulStore([]string{})
|
||||
)
|
||||
|
||||
func Get(key string) (Item, error) {
|
||||
|
Reference in New Issue
Block a user