Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendNode ¶ added in v0.1.99
type Client ¶
type Client struct { BackendNodes []BackendNode Password string Username string Namespace string AccessKey string SecretKey string CircleInterval int }
func NewNacosClient ¶
func NewNacosClient( backendNodes []string, password, username, namespace, accessKey, secretKey string, circleInterval int, ) (*Client, error)
NewNacosClient create nacos client.
type NamespacePageItem ¶ added in v0.1.99
type NamespaceResponse ¶ added in v0.1.99
type NamespaceResponse struct { Code int `json:"code"` Message string `json:"message"` Data []NamespacePageItem `json:"data"` }
type ValuesPageItem ¶ added in v0.1.99
type ValuesPageItem struct { ID string `json:"id"` DataId string `json:"dataId"` Group string `json:"group"` Content string `json:"content"` Md5 string `json:"md5"` EncryptedDataKey string `json:"encryptedDataKey"` Tenant string `json:"tenant"` AppName string `json:"appName"` Type string `json:"type"` }
type ValuesResponse ¶ added in v0.1.99
type ValuesResponse struct { TotalCount int `json:"totalCount"` PageNumber int `json:"pageNumber"` PagesAvailable int `json:"pagesAvailable"` PageItems []ValuesPageItem `json:"pageItems"` }
Click to show internal directories.
Click to hide internal directories.