overflow_gateway_websocket/server/server_handler.go
crusader 4542ab52e6 ing
2017-11-14 01:50:22 +09:00

16 lines
475 B
Go

package server
import (
cwf "git.loafle.net/commons_go/websocket_fasthttp"
"git.loafle.net/overflow/overflow_gateway_websocket/servlet"
oos "git.loafle.net/overflow/overflow_subscriber"
)
type ServerHandler interface {
cwf.ServerHandler
RegisterServlet(entryPath string, servletHandler servlet.ServletHandler)
RegisterRPCGatewayServlet(entryPath string, servletHandler servlet.RPCGatewayServletHandler)
RegisterSubscriber(subscriberHandler oos.SubscriberHandler)
}