func startLion() { mux := lion.New() mux.GetFunc("/hello", lionHandler) mux.Run(":" + strconv.Itoa(port)) }
func startGin() { gin.SetMode(gin.ReleaseMode) mux := gin.New() mux.GET("/hello", ginHandler) mux.Run(":" + strconv.Itoa(port)) }
// echov2-fasthttp func startEchoV2Fasthttp() { mux := echov2.New() mux.Get("/hello", echov2Handler) mux.Run(echov2fasthttp.New(":" + strconv.Itoa(port))) }
func startEchoV2Standard() { mux := echov2.New() mux.Get("/hello", echov2Handler) mux.Run(echov2standard.New(":" + strconv.Itoa(port))) }
func startBaa() { mux := baa.New() mux.Get("/hello", baaHandler) mux.Run(":" + strconv.Itoa(port)) }
func startAce() { mux := ace.New() mux.GET("/hello", aceHandler) mux.Run(":" + strconv.Itoa(port)) }