Fix: consul and etcd json tag

pull/44/head
zijiren233 2 years ago
parent b0fb85120d
commit 5a96b833c3

@ -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 {

Loading…
Cancel
Save