Documentation ¶
Overview ¶
Package rawbytes implements a koanf.Provider that takes a []byte slice and provides it to koanf to be parsed by a koanf.Parser.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawBytes ¶
type RawBytes struct {
// contains filtered or unexported fields
}
RawBytes implements a raw bytes provider.
func Provider ¶
Provider returns a provider that takes a raw []byte slice to be parsed by a koanf.Parser parser. This should be a nested conf map, like the contents of a raw JSON config file.
Click to show internal directories.
Click to hide internal directories.