config

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	LogLevel                  string          `yaml:"LOG_LEVEL"`
	Port                      int             `yaml:"PORT"`
	MonPort                   int             `yaml:"MON_PORT"`
	EnablePprof               bool            `yaml:"ENABLE_PPROF"`
	Clickhouse                config.Settings `yaml:",inline"`
	TokenExchangeJWTKeySetURL string          `yaml:"TOKEN_EXCHANGE_JWK_KEY_SET_URL"`
	TokenExchangeIssuer       string          `yaml:"TOKEN_EXCHANGE_ISSUER_URL"`
	VehicleNFTAddress         common.Address  `yaml:"VEHICLE_NFT_ADDRESS"`
	MaxRequestDuration        string          `yaml:"MAX_REQUEST_DURATION"`
	DeviceLastSeenBinHrs      int64           `yaml:"DEVICE_LAST_SEEN_BIN_HOURS"`
	ChainID                   uint64          `yaml:"DIMO_REGISTRY_CHAIN_ID"`
	FetchAPIGRPCEndpoint      string          `yaml:"FETCH_API_GRPC_ENDPOINT"`
	CreditTrackerEndpoint     string          `yaml:"CREDIT_TRACKER_ENDPOINT"`
	StorageNodeDevLicense     common.Address  `yaml:"STORAGE_NODE_DEV_LICENSE"`
	VINDataVersion            string          `yaml:"VIN_DATA_VERSION"`

	// TODO: remove these once manual vinvc are migrated to attestation
	VINVCDataVersion string `yaml:"VINVC_DATA_VERSION"`
}

Settings contains the application config.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL