overflow_gateway_webapp/server/server_handlers.go
crusader 0b34a62e25 ing
2017-11-14 12:57:42 +09:00

34 lines
569 B
Go

package server
import (
oofws "git.loafle.net/overflow/overflow_gateway_websocket/server"
)
type ServerHandlers struct {
oofws.ServerHandlers
}
// Init invoked before the server is started
// If you override ths method, must call
func (sh *ServerHandlers) Init() error {
if err := sh.ServerHandlers.Init(); nil != err {
return err
}
return nil
}
func (sh *ServerHandlers) OnStart() {
sh.ServerHandlers.OnStart()
}
func (sh *ServerHandlers) OnStop() {
sh.ServerHandlers.OnStop()
}
func (sh *ServerHandlers) Validate() {
sh.ServerHandlers.Validate()
}