Recommended Read: The fastest web framework for Go

 

Iris LogoTravis Widget Release Widget Report Widget License Widget Gitter Widget Documentation Widget

the fastest web framework for Go while providing robust set of features for building modern web applications.

Benchmark Wizzard Processing Time Horizontal Graph

package main

import  "http://ift.tt/1PeMcr6"

func main() {
    iris.Get("/hi_json", func(c *iris.Context) {
        c.JSON(200, iris.Map{
            "Name": "Iris",
            "Age":  2,
        })
    })
    iris.Listen(":8080")
}

Learn about configuration and render.

The only requirement is Go 1.6

$ go get -u http://ift.tt/1UVCBLP

If you are connected to the Internet through China click here

You can find answers by exploring these questions.

  • Focus on high performance
  • Robust routing & static, wildcard subdomains
  • View system supporting 5+ template engines
  • Highly scalable Websocket API with custom events
  • Sessions support with GC, memory & redis providers
  • Middlewares & Plugins were never be easier
  • Full REST API
  • Custom HTTP Errors
  • Typescript compiler + Browser editor
  • Content negotiation & streaming
  • Transport Layer Security
  • and much more

If you’d like to discuss this package, or ask questions about it, feel free to

Open debates

TIP Be sure to read the history for Migrating from 2.x to 3.x.

The Iris philosophy is to provide robust tooling for HTTP, making it a great solution for single page applications, web sites, hybrids, or public HTTP APIs.

Iris does not force you to use any specific ORM or template engine. With support for the most used template engines, you can quickly craft the perfect application.

This Benchmark suite aims to compare the whole HTTP request processing between Go web frameworks.

Benchmark Wizzard Processing Time Horizontal Graph

Please click here to view all detailed benchmarks.

Iris suggests you to use this new suite to test your API.
Httpexpect supports fasthttp & Iris after recommandation. Its author is very active so I believe its a promising library. You can view examples here and here.

Current: v3.0.0-rc.1

Iris is an active project

Read more about Semantic Versioning 2.0.0

for the next release ‘v3’

If you’re willing to donate click here

A big thanks goes to all people who help building this framework with feature-requests, bug reports and more!

The author of Iris is @kataras.

This project is licensed under the Apache License 2.0.

License can be found here.

via Hacker News http://ift.tt/1RGXI0n

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.