fusenapi/server/websocket/internal/handler/routes.go

33 lines
676 B
Go
Raw Normal View History

2023-07-24 08:07:05 +00:00
// Code generated by goctl. DO NOT EDIT.
package handler
import (
"net/http"
"fusenapi/server/websocket/internal/svc"
"github.com/zeromicro/go-zero/rest"
)
func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
server.AddRoutes(
[]rest.Route{
{
Method: http.MethodGet,
Path: "/api/websocket/data_transfer",
Handler: DataTransferHandler(serverCtx),
},
2023-08-16 04:16:23 +00:00
{
Method: http.MethodPost,
Path: "/api/websocket/render_notify",
Handler: RenderNotifyHandler(serverCtx),
},
2023-08-23 07:08:45 +00:00
{
Method: http.MethodPost,
2023-08-24 07:45:23 +00:00
Path: "/api/websocket/common_notify",
Handler: CommonNotifyHandler(serverCtx),
2023-08-23 07:08:45 +00:00
},
2023-07-24 08:07:05 +00:00
},
)
}