grain/config/types/serverConfig.go

14 lines
307 B
Go
Raw Normal View History

2024-07-31 16:01:18 +00:00
package config
type ServerConfig struct {
MongoDB struct {
URI string `yaml:"uri"`
Database string `yaml:"database"`
} `yaml:"mongodb"`
Server struct {
Port string `yaml:"port"`
} `yaml:"server"`
RateLimit RateLimitConfig `yaml:"rate_limit"`
2024-08-03 18:27:58 +00:00
Whitelist WhitelistConfig `yaml:"whitelist"`
}