15 lines
467 B
Go
15 lines
467 B
Go
package physical
|
|
|
|
// ConsulBackend is a physical backend that stores data at specific
|
|
// prefix within Consul. It is used for most production situations as
|
|
// it allows Vault to run on multiple machines in a highly-available manner.
|
|
type ConsulBackend struct {
|
|
}
|
|
|
|
// newConsulBackend constructs a Consul backend using the given API client
|
|
// and the prefix in the KV store.
|
|
func newConsulBackend(conf map[string]string) (Backend, error) {
|
|
// TODO
|
|
return nil, nil
|
|
}
|