Documentation
¶
Index ¶
- Variables
- func MarshalWriter(w io.Writer, c map[string]interface{}, configType string) error
- func SetAgolloOptions(opts ...agollo.Option)
- func SetAppID(appid string)
- func SetConfigType(ct string)
- func UnmarshalReader(in io.Reader, c map[string]interface{}, configType string) error
- type ConfigMarshalError
- type ConfigParseError
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedProvider = errors.New("This configuration manager is not supported")
)
Functions ¶
func MarshalWriter ¶
func SetAgolloOptions ¶ added in v1.0.4
func SetConfigType ¶
func SetConfigType(ct string)
Types ¶
type ConfigMarshalError ¶
type ConfigMarshalError struct {
// contains filtered or unexported fields
}
ConfigMarshalError happens when failing to marshal the configuration.
func (ConfigMarshalError) Error ¶
func (e ConfigMarshalError) Error() string
Error returns the formatted configuration error.
type ConfigParseError ¶
type ConfigParseError struct {
// contains filtered or unexported fields
}
func (ConfigParseError) Error ¶
func (pe ConfigParseError) Error() string
Error returns the formatted configuration error.
Click to show internal directories.
Click to hide internal directories.