Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { DeleteDataAfter *time.Duration `mapstructure:"DELETE_DATA_AFTER"` ExpirationTime int `mapstructure:"EXPIRATION_TIME"` TemporaryAccessExpirationTime int `mapstructure:"TEMPORARY_ACCESS_EXPIRATION_TIME"` SkipRestrictions bool `mapstructure:"SKIP_RESTRICTIONS"` Debug bool `mapstructure:"DEBUG"` CollectStatisticsAfter time.Time `mapstructure:"COLLECT_STATISTICS_AFTER"` SyncInterval time.Duration `mapstructure:"SYNC_INTERVAL"` // DB PostgresHost string `mapstructure:"POSTGRES_HOST"` PostgresPort int `mapstructure:"POSTGRES_PORT"` PostgresUser string `mapstructure:"POSTGRES_USER"` PostgresPassword string `mapstructure:"POSTGRES_PASSWORD"` PostgresDatabase string `mapstructure:"POSTGRES_DATABASE"` }
func Config ¶
func Config() *Configuration
Click to show internal directories.
Click to hide internal directories.