Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LogLevel slog.Level `env:"LOG_LEVEL,optional"` ServiceEndpoint string `env:"HTTP_SERVICE_ENDPOINT"` DatabaseDSN string `env:"DATABASE_DSN"` ChainEndpoint string `env:"CHAIN_ENDPOINT,optional"` BeginningBlockNumber uint64 `env:"BEGINNING_BLOCK_NUMBER,optional"` OperatorPrvKey string `env:"OPERATOR_PRIVATE_KEY,optional"` LocalDBPath string `env:"LOCAL_DB_PATH,optional"` MqttBrokerEndpoint string `env:"MQTT_BROKER_ENDPOINT,optional"` MqttBrokerQoS string `env:"MQTT_BROKER_QOS,optional"` MqttBrokerCertCAPath string `env:"MQTT_BROKER_CERT_CA_PATH,optional"` MqttBrokerCertCrtPath string `env:"MQTT_BROKER_CERT_CRT_PATH,optional"` MqttBrokerCertKeyPath string `env:"MQTT_BROKER_CERT_KEY_PATH,optional"` IoIDProjectID uint64 `env:"IOID_PROJECT_ID,optional"` IoIDRegistryEndpoint string `env:"IOID_REGISTRY_ENDPOINT,optional"` IoIDRegistryContractAddr string `env:"IOID_REGISTRY_CONTRACT_ADDRESS,optional"` IoIDContractAddr string `env:"IOID_CONTRACT_ADDRESS,optional"` ProjectDeviceContractAddr string `env:"PROJECT_DEVICE_CONTRACT_ADDRESS,optional"` W3bstreamProjectContractAddr string `env:"W3BSTREAM_PROJECT_CONTRACT_ADDRESS,optional"` ProjectContractAddr string `env:"PROJECT_CONTRACT_ADDRESS,optional"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.