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:
parent
707a54ecc8
commit
373f521de8
2 changed files with 56 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue