The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio 🚀
Go to file
2016-07-01 01:40:05 +03:00
config Fix https://github.com/kataras/iris/issues/244 2016-07-01 01:38:29 +03:00
context Remove unused context.Domain 2016-06-30 06:02:07 +03:00
iris Make iris easier for glide users 2016-06-30 17:33:08 +03:00
logger Embrace the weekend- Update to rc.3 | Read the HISTORY.md 2016-06-24 01:34:49 +03:00
render Extend the Handlebars support as requested here https://github.com/kataras/iris/issues/239#issuecomment-229020737 2016-06-28 18:06:52 +03:00
sessions Fix https://github.com/kataras/iris/issues/244 2016-07-01 01:38:29 +03:00
utils 💡 Happy Sunday: Introducing rizla 2016-06-26 16:26:44 +03:00
websocket https://github.com/kataras/iris/issues/201 2016-06-21 14:18:22 +03:00
.gitignore Remove unnecessary output 2016-06-30 23:19:06 +03:00
.travis.yml Version 3.0.0-beta cleaned 2016-05-30 17:08:09 +03:00
context.go Fix https://github.com/kataras/iris/issues/244 and some more things 2016-06-30 14:26:42 +03:00
CONTRIBUTING.md Move to Rocket.Chat - better management, multiple channels of the relative projects, private group chat and more 2016-06-29 00:08:31 +03:00
DONATIONS.md Version 3.0.0-beta cleaned 2016-05-30 17:08:09 +03:00
glide.lock Make iris easier for glide users 2016-06-30 17:33:08 +03:00
glide.yaml Make iris easier for glide users 2016-06-30 17:33:08 +03:00
HISTORY.md Add more notes on HISTORY.md about rc.4 changes 2016-07-01 02:13:21 +03:00
http.go Finish the feature request https://github.com/kataras/iris/issues/235#issuecomment-229383650 2016-06-29 18:49:09 +03:00
initiatory.go Set the default max request body size to 4mb 2016-06-29 20:07:35 +03:00
iris.go Make iris easier for glide users 2016-06-30 17:33:08 +03:00
LICENSE Add the new license , here and at iris-contrib repositories also (where needed) 2016-06-26 08:25:05 +03:00
plugin.go Embrace the weekend- Update to rc.3 | Read the HISTORY.md 2016-06-24 01:34:49 +03:00
README.md fix iris-book cover, github timeout 2016-07-01 01:40:05 +03:00
THIRDPARTY-LICENSE.md Handlebars support - Embrace the feature request https://github.com/kataras/iris/issues/239 2016-06-28 12:50:26 +03:00

Iris Logo

Travis Widget Release Widget Report Widget License Widget Chat Widget Documentation Widget

The fastest web framework for Go.

The results have been updated on July 1, 2016

Benchmark Wizzard Processing Time Horizontal Graph

$ cat render_json.go
package main
import "github.com/kataras/iris"

func main() {
	iris.Get("/hi_json", func(c *iris.Context) {
		c.JSON(iris.StatusOK, iris.Map{
			"Name":  "Iris",
			"Born":  "13 March 2016",
			"Stars": 3693,
		})
	})
	iris.Listen(":8080")
}

Learn more about render

$ iris run render_json.go

Runs & monitors for file changes, learn more about cli.

Installation

The only requirement is the Go Programming Language, at least v1.6

$ go get -u github.com/kataras/iris/iris

If you have installation issues and you are connected to the Internet through China please, click here.

FAQ

Explore these questions or navigate here.

Features

  • Focus on high performance
  • Robust routing supports static and wildcard subdomains
  • View system supporting 6+ 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-based editor
  • Content negotiation & streaming
  • Transport Layer Security
  • Reload on source code changes
  • OAuth, OAuth2 supporting 27+ API providers
  • JSON Web Tokens
  • and more
Name Description Usage
Basicauth Middleware HTTP Basic authentication example 1, example 2, book section
JWT Middleware JSON Web Tokens example , book section
Cors Middleware Cross Origin Resource Sharing W3 specification how to use
Secure Middleware Facilitates some quick security wins example
I18n Middleware Simple internationalization example, book section
Recovery Middleware Safety recover the station from panic example
Logger Middleware Logs every request example, book section
Editor Plugin Alm-tools, a typescript online IDE/Editor book section
Typescript Plugin Auto-compile client-side typescript files book section
OAuth,OAuth2 Plugin User Authentication was never be easier, supports >27 providers example, book section
Iris control Plugin Basic (browser-based) control over your Iris station example, book section

Docs & Community

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

Open debates

Philosophy

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.

Benchmarks

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

New results just came out:

Benchmark Wizzard Processing Time Horizontal Graph

The results have been updated on July 1, 2016

Please click here to view all detailed benchmarks.

Testing

Tests are located to the iris-contrib/tests repository, community should write some code there! I recommend writing your API tests using this new library, httpexpect which supports Iris and fasthttp now, after my request here.

Versioning

Current: v3.0.0-rc.4

Iris is an active project

Read more about Semantic Versioning 2.0.0

Todo

for the next release 'v3'

  • Dynamic/Wildcard subdomains.
  • Create server & client side (js) library for .on('event', func action(...)) / .emit('event')... (like socket.io but supports only websocket).
  • Create a view system supporting different types of template engines.
  • Extend, test and publish to the public the Iris' cmd.
  • Complete the front-end API tests [inside the iris-contrib] If you're willing to donate click here!

People

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

The author of Iris is @kataras.

Contributing

If you are interested in contributing to the Iris project, please see the document CONTRIBUTING.

Third-Party Licenses

Third-Party Licenses can be found here

License

This project is licensed under the MIT License.

License can be found here.