overflow_gateway_websocket/server/server_handler.go

16 lines
475 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"
"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)
RegisterRPCGatewayServlet(entryPath string, servletHandler servlet.RPCGatewayServletHandler)
RegisterSubscriber(subscriberHandler oos.SubscriberHandler)
2017-11-10 13:24:10 +00:00
}