Documentation
¶
Overview ¶
Package config provides the configuration for the application. Note that most configuration is provided by the underlying trueblocks-core packages, so the items here are mostly for the application itself.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ConfigPath string `json:"configPath"`
ProviderMap map[string]string `json:"providers"` // chain to provider
Targets []string `json:"targets"`
}
Config carries various configuration related settings
type TmplEntry ¶
type TmplEntry struct {
Chain string `json:"chain"`
ChainId string `json:"chainId"`
LocalExplorer string `json:"localExplorer"`
RemoteExplorer string `json:"remoteExplorer"`
RpcProvider string `json:"rpcProvider"`
Symbol string `json:"symbol"`
}
TmplEntry represents the configuration of a single chain in the configurion file's template.
Click to show internal directories.
Click to hide internal directories.