overflow_gateway_websocket/server/server_handler.go

17 lines
552 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-14 07:47:29 +00:00
RegisterServlet(servletName string, servletHandler servlet.ServletHandler)
2017-11-27 17:12:26 +00:00
RegisterRPCGatewayServlet(servletName string, gatewayRPCHandler rpc.GatewayRPCHandler) servlet.ServletHandler
2017-11-13 16:50:22 +00:00
RegisterSubscriber(subscriberHandler oos.SubscriberHandler)
2017-11-10 13:24:10 +00:00
}