ing
This commit is contained in:
parent
ca8f32c51b
commit
fac4e46be6
|
@ -1,9 +1,7 @@
|
|||
package server
|
||||
|
||||
import (
|
||||
"git.loafle.net/commons/server-go"
|
||||
csgw "git.loafle.net/commons/server-go/socket/web"
|
||||
ogeg "git.loafle.net/overflow/gateway/external/grpc"
|
||||
)
|
||||
|
||||
type ServerHandler interface {
|
||||
|
@ -13,18 +11,3 @@ type ServerHandler interface {
|
|||
type ServerHandlers struct {
|
||||
csgw.ServerHandlers
|
||||
}
|
||||
|
||||
func (sh *ServerHandlers) Init(serverCtx server.ServerCtx) error {
|
||||
if err := sh.ServerHandlers.Init(serverCtx); nil != err {
|
||||
return nil
|
||||
}
|
||||
ogeg.InitPackage()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (sh *ServerHandlers) Destroy(serverCtx server.ServerCtx) {
|
||||
ogeg.DestroyPackage()
|
||||
|
||||
sh.ServerHandlers.Destroy(serverCtx)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user