Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct {
Environment string `env:"ENVIRONMENT"`
LogLevel string `env:"LOG_LEVEL"`
Port int `env:"PORT"`
MonPort int `env:"MON_PORT"`
GRPCPort int `env:"GRPC_PORT"`
JWKKeySetURL string `env:"JWT_KEY_SET_URL"`
DIMORegistryChainID uint64 `env:"DIMO_REGISTRY_CHAIN_ID"`
VehicleNFTContractAddress common.Address `env:"VEHICLE_NFT_CONTRACT_ADDRESS"`
DB db.Settings `envPrefix:"DB_"`
}
Settings contains the application config.
func LoadSettings ¶
Click to show internal directories.
Click to hide internal directories.