Files
sablier/pkg/config/configuration.go
Alexis Couvreur fca9c79289 refactor: reorganize code structure (#556)
* refactor: rename providers to Provider

* refactor folders

* fix build cmd

* fix build cmd

* fix build cmd

* fix cmd start
2025-03-10 14:11:40 -04:00

22 lines
391 B
Go

package config
type Config struct {
Server Server
Storage Storage
Provider Provider
Sessions Sessions
Logging Logging
Strategy Strategy
}
func NewConfig() Config {
return Config{
Server: NewServerConfig(),
Storage: NewStorageConfig(),
Provider: NewProviderConfig(),
Sessions: NewSessionsConfig(),
Logging: NewLoggingConfig(),
Strategy: NewStrategyConfig(),
}
}