configuration

package
v0.0.0-...-fe50809 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	App      configuration.AppConfig `yaml:"app"`
	Pulsar   pulsar.PulsarConfig     `yaml:"pulsar"`
	Rain     RainConfig              `yaml:"rain"`
	Postgres postgres.PostgresConfig `yaml:"postgres"`
}

type RainConfig

type RainConfig struct {
	Id                   string `yaml:"id" env:"OMIGA_RAIN_ID"`
	WebsiteUrl           string `yaml:"websiteUrl" env:"OMIGA_RAIN_WEBSITEURL"`
	BaseUrl              string `yaml:"baseUrl" env:"OMIGA_RAIN_BASEURL"`
	Username             string `yaml:"username" env:"OMIGA_RAIN_USERNAME"`
	Password             string `yaml:"password" env:"OMIGA_RAIN_PASSWORD"`
	TotpSecret           string `yaml:"totpSecret" env:"OMIGA_RAIN_TOTPSECRET"`
	Headless             bool   `yaml:"headless" env:"OMIGA_RAIN_HEADLESS"`
	Timeout              string `yaml:"timeout" env:"OMIGA_RAIN_TIMEOUT"`
	RecordedVideoDirPath string `yaml:"recordedVideoDirPath" env:"OMIGA_RAIN_RECORDEDVIDEODIRPATH"`
}

Jump to

Keyboard shortcuts

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