MSP-625 reimplement websocket proxy
This commit is contained in:
1 parent
3f9d25c217
commit
6940b30756
2 files changed
+20
-174
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user