Documentation ¶
Overview ¶
Package encoding provides common functionality for go-structconf encodings
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoding ¶
type Encoding interface { // UnmarshalTo unmarshals the passed bytes to the given destination UnmarshalTo(in []byte, dest map[string]interface{}) error // MarshalFrom marshals the given source to an array of bytes MarshalFrom(src map[string]interface{}) ([]byte, error) }
Encoding defines the configuration encoding interface An implementation of this interface provides marshalling and unmarshalling of the configuration data
Directories ¶
Path | Synopsis |
---|---|
Package json provides the JSON encoding for go-structconf
|
Package json provides the JSON encoding for go-structconf |
Package toml provides the TOML encoding for go-structconf
|
Package toml provides the TOML encoding for go-structconf |
Package yaml provides the YAML encoding for go-structconf
|
Package yaml provides the YAML encoding for go-structconf |
Click to show internal directories.
Click to hide internal directories.