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-14 07:47:29 +00:00
|
|
|
RegisterServlet(servletName string, servletHandler servlet.ServletHandler)
|
|
|
|
RegisterRPCGatewayServlet(servletName 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
|
|
|
}
|