|
|
@ -6,18 +6,18 @@ import (
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
type Consul struct {
|
|
|
|
type Consul struct {
|
|
|
|
ServerName string
|
|
|
|
ServerName string `json:"serverName"`
|
|
|
|
Token string
|
|
|
|
Token string `json:"token"`
|
|
|
|
TokenFile string
|
|
|
|
TokenFile string `json:"tokenFile"`
|
|
|
|
PathPrefix string
|
|
|
|
PathPrefix string `json:"pathPrefix"`
|
|
|
|
Namespace string
|
|
|
|
Namespace string `json:"namespace"`
|
|
|
|
Partition string
|
|
|
|
Partition string `json:"partition"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type Etcd struct {
|
|
|
|
type Etcd struct {
|
|
|
|
ServerName string
|
|
|
|
ServerName string `json:"serverName"`
|
|
|
|
Username string
|
|
|
|
Username string `json:"username"`
|
|
|
|
Password string
|
|
|
|
Password string `json:"password"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type Backend struct {
|
|
|
|
type Backend struct {
|
|
|
|