mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-21 13:23:03 +01:00
* refactor: rename providers to Provider * refactor folders * fix build cmd * fix build cmd * fix build cmd * fix cmd start
22 lines
391 B
Go
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(),
|
|
}
|
|
}
|