telegram-ollama-reply-bot/config/config.go
Alexey Skobkin af8584b105
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Configuration draft.
2024-03-11 23:59:11 +03:00

28 lines
385 B
Go

package config
type Config struct {
Telegram TelegramConfig
Ollama OllamaConfig
Stats StatsConfig
}
type StatsConfig struct {
Enabled bool
}
type TelegramConfig struct {
Token string
AdministratorIds []int64
OnlyAllowedChats bool
AllowedChats []int64
}
type OllamaConfig struct {
BaseUrl string
Token string
}
func ReadFromEnvAndFile() Config {
}