ing
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package noauth
|
||||
package auth
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
Name = "noauth"
|
||||
Name = "auth"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -1,4 +1,4 @@
|
||||
package noauth
|
||||
package auth
|
||||
|
||||
import (
|
||||
"context"
|
||||
@@ -1,4 +1,4 @@
|
||||
package noauth
|
||||
package auth
|
||||
|
||||
import (
|
||||
"git.loafle.net/commons_go/websocket_fasthttp/websocket"
|
||||
@@ -30,5 +30,3 @@ func (sh *SubscriberHandlers) OnSubscribe(channel string, message oos.SubscribeM
|
||||
func (sh *SubscriberHandlers) Validate() {
|
||||
sh.SubscriberHandlers.Validate()
|
||||
}
|
||||
|
||||
|
||||
@@ -1,21 +1,18 @@
|
||||
package servlet
|
||||
|
||||
|
||||
import (
|
||||
oogws "git.loafle.net/overflow/overflow_gateway_websocket/server"
|
||||
"git.loafle.net/overflow/overflow_gateway_probe/servlet/auth"
|
||||
"git.loafle.net/overflow/overflow_gateway_probe/servlet/data"
|
||||
"git.loafle.net/overflow/overflow_gateway_probe/servlet/noauth"
|
||||
"git.loafle.net/overflow/overflow_gateway_probe/servlet/probe"
|
||||
oogws "git.loafle.net/overflow/overflow_gateway_websocket/server"
|
||||
)
|
||||
|
||||
|
||||
func ServletInit(sh oogws.ServerHandler) {
|
||||
data.ServletInit(sh)
|
||||
noauth.ServletInit(sh)
|
||||
func ServletInit(sh oogws.ServerHandler) {
|
||||
auth.ServletInit(sh)
|
||||
probe.ServletInit(sh)
|
||||
data.ServletInit(sh)
|
||||
}
|
||||
|
||||
|
||||
func ServletDestroy() {
|
||||
func ServletDestroy() {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user