Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
//Config of the client
Config() *Config
//FetchFile queries the remote configuration service and returns the resulting file
FetchFile(source string) ([]byte, error)
//FetchAs queries the remote configuration service and returns the result in specified format
FetchAs(extension Extension) (string, error)
//FetchAsJSON queries the remote configuration service and returns the result as a JSON string
FetchAsJSON() (string, error)
//FetchAsYAML queries the remote configuration service and returns the result as a YAML string
FetchAsYAML() (string, error)
//FetchAsProperties queries the remote configuration service and returns the result as a Properties string
FetchAsProperties() (string, error)
//Encrypt encrypts the value server side and returns result
Encrypt(value string) (string, error)
//Decrypt decrypts the value server side and returns result
Decrypt(value string) (string, error)
}
Client Spring Cloud Config Client
Click to show internal directories.
Click to hide internal directories.