46 lines
611 B
Go
46 lines
611 B
Go
package domain
|
|
|
|
type Config struct {
|
|
Git GitConfig
|
|
Cloud CloudConfig
|
|
Coda CodaConfig
|
|
DB DBConfig
|
|
Telegram TelegramConfig
|
|
Discord DiscordConfig
|
|
}
|
|
|
|
type GitConfig struct {
|
|
BaseUrl string
|
|
Token string
|
|
User string
|
|
}
|
|
|
|
type CloudConfig struct {
|
|
BaseUrl string
|
|
User string
|
|
Pass string
|
|
RootDir string
|
|
}
|
|
|
|
type CodaConfig struct {
|
|
Farm string
|
|
Develop string
|
|
}
|
|
|
|
type DBConfig struct {
|
|
Host string
|
|
Port string
|
|
Name string
|
|
User string
|
|
Pass string
|
|
SslMode string
|
|
}
|
|
|
|
type TelegramConfig struct {
|
|
Token string
|
|
}
|
|
|
|
type DiscordConfig struct {
|
|
Token string
|
|
}
|