change: add stub android/ios driver

This commit is contained in:
lilong.129
2025-02-18 22:34:12 +08:00
parent 7abfb56661
commit 3b72702c4a
9 changed files with 697 additions and 680 deletions

View File

@@ -3,7 +3,7 @@ package cmd
import (
"github.com/spf13/cobra"
"github.com/httprunner/httprunner/v5/server"
server_ext "github.com/httprunner/httprunner/v5/server/ext"
)
// serverCmd represents the server command
@@ -13,7 +13,7 @@ var serverCmd = &cobra.Command{
Long: `start hrp server, call httprunner by HTTP`,
Args: cobra.MinimumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
return server.NewRouter().Run(port)
return server_ext.NewExtRouter().Run(port)
},
}