Documentation ¶
Overview ¶
Package config contains the configuration required to run a node. while each submodule defines it's own validator adhering to common.Validator they are all stored and validated centrally bt the node here.
Index ¶
Constants ¶
const AppName = "Sanguine"
AppName is the application name.
const AppVersion = "0.1.0"
AppVersion is the application version.
const VendorName = "synapsecns"
VendorName is the vendor named used for versioning schemes that depend on a vendor name we use the github name for convince.
Variables ¶
This section is empty.
Functions ¶
func GetConfigDir ¶
GetConfigDir gets the config dir. We create a default file to mark the directory level. if the config dir can not be created, an error is returned.
func GetLogoPath ¶
GetLogoPath fetches the logo path from the config and writes it to the global config if it doesn't exist TODO this should be more generalized to work across static assets when we have more. returns an empty string if not present. nolint: nestif
Types ¶
This section is empty.