fusenapi/server/websocket/internal/handler/routes.go
laodaming 7510b363d6 fix
2023-08-07 12:31:31 +08:00

23 lines
414 B
Go

// 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),
},
},
)
}