Добавлена обработка канальчиков из конфига, добавлен кнанал webapp-go
* Берём список каналов из конфига (пока что хардкод) * Добавлен канальчик webapp-go для новой реализации веб-клиента (пока команды cat и кис)
This commit is contained in:
9
types.go
9
types.go
@@ -8,10 +8,11 @@ type myConfig struct {
|
||||
Log string `json:"log,omitempty"`
|
||||
Channel string `json:"channel,omitempty"`
|
||||
ForwardChannels struct {
|
||||
Games string `json:"games,omitempty"`
|
||||
Phrases string `json:"phrases,omitempty"`
|
||||
Webapp string `json:"webapp,omitempty"`
|
||||
Craniac string `json:"craniac,omitempty"`
|
||||
Games string `json:"games,omitempty"`
|
||||
Phrases string `json:"phrases,omitempty"`
|
||||
Webapp string `json:"webapp,omitempty"`
|
||||
WebappGo string `json:"webapp-go,omitempty"`
|
||||
Craniac string `json:"craniac,omitempty"`
|
||||
} `json:"forward_channels"`
|
||||
Csign string `json:"csign,omitempty"`
|
||||
ForwardsMax int64 `json:"forwards_max,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user