MSP-625 reimplement websocket proxy

This commit is contained in:
DeniskaRediska authored and d1slike committed 2022-07-27 10:44:07 +03:00
1 parent 3f9d25c217
commit 6940b30756
2 files changed
+20 -174

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
package proxy
import (
"github.com/integration-system/isp-kit/lb"
"isp-gate-service/middleware"
)
type Websocket struct {
roundRobin *lb.RoundRobin
}
func NewWebsocket(hostManager *lb.RoundRobin) (Websocket, error) {
return Websocket{
roundRobin: hostManager,
}, nil
}
func (p Websocket) Handle(ctx middleware.Context) error {
return nil
}