removed iris files from benchmarks

This commit is contained in:
Josh Baker 2017-11-06 05:22:35 -07:00
parent 482c5c993e
commit 5554eb0d00
2 changed files with 0 additions and 32 deletions

View File

@ -11,7 +11,6 @@ Required Go packages:
```
go get gonum.org/v1/plot/...
go get -u github.com/valyala/fasthttp
go get -u github.com/kataras/iris
go get -u github.com/tidwall/redcon
```

View File

@ -1,31 +0,0 @@
// Copyright 2017 Joshua J Baker. All rights reserved.
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
package main
import (
"flag"
"fmt"
"log"
"github.com/kataras/iris"
)
var res string
func main() {
var port int
flag.IntVar(&port, "port", 8080, "server port")
flag.Parse()
go log.Printf("http server started on port %d", port)
app := iris.New()
app.Get("/", func(ctx iris.Context) {
ctx.WriteString("Hello World!\r\n")
})
err := app.Run(iris.Addr(fmt.Sprintf(":%d", port)))
if err != nil {
log.Fatal(err)
}
}