1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-02 17:18:31 +00:00

Allow the socket server to act as a proxy to other services.

This commit is contained in:
SirStendec 2017-09-28 23:03:41 -04:00
parent 707a54ecc8
commit 373f521de8
2 changed files with 56 additions and 0 deletions

View file

@ -42,8 +42,18 @@ type ConfigFile struct {
// Request username validation from all new clients.
SendAuthToNewClients bool
// Proxy Routes
ProxyRoutes []ProxyRoute
}
type ProxyRoute struct {
Route string
Server string
}
type ClientMessage struct {
// Message ID. Increments by 1 for each message sent from the client.
// When replying to a command, the message ID must be echoed.