overflow_gateway_websocket/server/server_handler.go

17 lines
548 B
Go
Raw Normal View History

2017-11-10 13:24:10 +00:00
package server
import (
cwf "git.loafle.net/commons_go/websocket_fasthttp"
2017-11-14 06:27:18 +00:00
"git.loafle.net/overflow/overflow_gateway_websocket/rpc"
2017-11-10 13:24:10 +00:00
"git.loafle.net/overflow/overflow_gateway_websocket/servlet"
oos "git.loafle.net/overflow/overflow_subscriber"
)
type ServerHandler interface {
cwf.ServerHandler
2017-11-13 16:50:22 +00:00
RegisterServlet(entryPath string, servletHandler servlet.ServletHandler)
2017-11-14 07:37:00 +00:00
RegisterRPCGatewayServlet(entryPath string, rpcGatewayHandler rpc.RPCGatewayHandler) servlet.ServletHandler
2017-11-13 16:50:22 +00:00
RegisterSubscriber(subscriberHandler oos.SubscriberHandler)
2017-11-10 13:24:10 +00:00
}