Archived
1

Revert "Add SOCKS5 proxy support to bot"

This reverts commit b52a0c34b8.
This commit is contained in:
2018-05-19 09:42:07 +04:00
parent 22481ad7ec
commit 67cdb3edb5
3 changed files with 2 additions and 69 deletions

View File

@@ -30,14 +30,6 @@ type TelegramConnection struct {
ListenAddress string `yaml:"listen_address"`
}
// ProxySettings handles settings for SOCKS5 proxy in config.yml
type ProxySettings struct {
Enabled bool `yaml:"enabled"`
Address string `yaml:"address,omitempty"`
Username string `yaml:"username,omitempty"`
Password string `yaml:"password,omitempty"`
}
// SpecialChats handles settings for special chats
type SpecialChats struct {
AcademyID string `yaml:"academy_id"`
@@ -56,7 +48,6 @@ type LoggingConfig struct {
type Config struct {
Telegram TelegramConnection `yaml:"telegram_connection"`
Database DatabaseConnection `yaml:"database_connection"`
Proxy ProxySettings `yaml:"socks_proxy"`
SpecialChats SpecialChats `yaml:"special_chats"`
Logs LoggingConfig `yaml:"logs"`
}