Discover Packages
github.com/chronicleprotocol/oracle-suite
pkg
config
package
Version:
v0.22.7
Opens a new window with list of versions in this module.
Published: Oct 30, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Directories Index Constants Variables Functions Types LoadEmbeds(config, embeds) LoadFiles(config, paths) type HasDefaults type URL (u) String() (u) UnmarshalHCL(value)
Documentation
¶
LoadEmbeds populates config with data from []utilHCL.NamedBytes into the given config,
and expanding dynamic blocks before decoding the HCL content.
LoadFiles loads the given paths into the given config, merging contents of
multiple HCL files specified by the "include" attribute using glob patterns,
and expanding dynamic blocks before decoding the HCL content.
type HasDefaults interface {
DefaultEmbeds() [][]byte
}
URL accepts a URL as a string.
It returns an error if the string is not a valid URL.
String implements the fmt.Stringer interface.
UnmarshalHCL implements the hcl.Unmarshaler interface.
Source Files
¶
Directories
¶
Show internal
Collapse all
Click to show internal directories.
Click to hide internal directories.