config

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 1 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 {
	Port                         int             `yaml:"PORT"`
	MonPort                      int             `yaml:"MON_PORT"`
	CLickhouse                   config.Settings `yaml:",inline"`
	ClickhouseFileIndexDatabase  string          `yaml:"CLICKHOUSE_FILE_INDEX_DATABASE"`
	TokenExchangeJWTKeySetURL    string          `yaml:"TOKEN_EXCHANGE_JWK_KEY_SET_URL"`
	TokenExchangeIssuer          string          `yaml:"TOKEN_EXCHANGE_ISSUER_URL"`
	VehicleNFTAddress            string          `yaml:"VEHICLE_NFT_ADDRESS"`
	MaxRequestDuration           string          `yaml:"MAX_REQUEST_DURATION"`
	S3AWSRegion                  string          `yaml:"S3_AWS_REGION"`
	S3AWSAccessKeyID             string          `yaml:"S3_AWS_ACCESS_KEY_ID"`
	S3AWSSecretAccessKey         string          `yaml:"S3_AWS_SECRET_ACCESS_KEY"`
	VINVCBucket                  string          `yaml:"VINVC_BUCKET"`
	VINVCDataType                string          `yaml:"VINVC_DATA_TYPE"`
	POMVCBucket                  string          `yaml:"POMVC_BUCKET"`
	POMVCDataType                string          `yaml:"POMVC_DATA_TYPE"`
	ManufacturerNFTAddress       string          `yaml:"MANUFACTURER_NFT_ADDRESS"`
	IdentityAPIURL               string          `yaml:"IDENTITY_API_URL"`
	IdentityAPIReqTimeoutSeconds int             `yaml:"IDENTITY_API_REQUEST_TIMEOUT_SECONDS"`
	DeviceLastSeenBinHrs         int64           `yaml:"DEVICE_LAST_SEEN_BIN_HOURS"`
}

Settings contains the application config.

Jump to

Keyboard shortcuts

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