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-06-04 23:07:19 +03:00
bindings Form accepts get data also 2016-06-02 17:48:11 +03:00
config Nothing special: Linting 2016-06-03 05:11:50 +03:00
context Add history for v3.0.0.-beta.2. Some fixes to subdomains listening on local 127.0.0.1. Change GetURI to ParseURI 2016-06-04 23:07:19 +03:00
errors Version 3.0.0-beta cleaned 2016-05-30 17:08:09 +03:00
graceful Version 3.0.0-beta cleaned 2016-05-30 17:08:09 +03:00
iris utils.file replace os.Remove with os.RemoveAll 2016-06-03 16:17:15 +03:00
logger Version 3.0.0-beta cleaned 2016-05-30 17:08:09 +03:00
mail E-mail through linux command with UseCommand configuration field 2016-06-02 23:29:29 +03:00
middleware Nothing special(2): remaining linting 2016-06-03 05:20:27 +03:00
npm Version 3.0.0-beta cleaned 2016-05-30 17:08:09 +03:00
plugin Version 3.0.0-beta cleaned 2016-05-30 17:08:09 +03:00
render Nothing special(2): remaining linting 2016-06-03 05:20:27 +03:00
server Add history for v3.0.0.-beta.2. Some fixes to subdomains listening on local 127.0.0.1. Change GetURI to ParseURI 2016-06-04 23:07:19 +03:00
sessions Nothing special: Linting 2016-06-03 05:11:50 +03:00
tests Iris cmd: download packages on every iris create command 2016-06-03 06:17:40 +03:00
utils utils.file replace os.Remove with os.RemoveAll 2016-06-03 16:17:15 +03:00
websocket Fix https://github.com/kataras/iris/issues/161 2016-05-31 13:50:53 +03:00
.gitignore Version 3.0.0-beta cleaned 2016-05-30 17:08:09 +03:00
.travis.yml Version 3.0.0-beta cleaned 2016-05-30 17:08:09 +03:00
branch.go Version 3.0.0-beta cleaned 2016-05-30 17:08:09 +03:00
context_renderer.go Iris cmd: download packages on every iris create command 2016-06-03 06:17:40 +03:00
context_request.go Add history for v3.0.0.-beta.2. Some fixes to subdomains listening on local 127.0.0.1. Change GetURI to ParseURI 2016-06-04 23:07:19 +03:00
context_response.go Add history for v3.0.0.-beta.2. Some fixes to subdomains listening on local 127.0.0.1. Change GetURI to ParseURI 2016-06-04 23:07:19 +03:00
context_storage.go Nothing special(2): remaining linting 2016-06-03 05:20:27 +03:00
context.go Add history for v3.0.0.-beta.2. Some fixes to subdomains listening on local 127.0.0.1. Change GetURI to ParseURI 2016-06-04 23:07:19 +03:00
DONATIONS.md Version 3.0.0-beta cleaned 2016-05-30 17:08:09 +03:00
errors.go One of the best requests https://github.com/kataras/iris/issues/165 2016-06-02 04:45:03 +03:00
handler.go Version 3.0.0-beta cleaned 2016-05-30 17:08:09 +03:00
HISTORY.md Add history for v3.0.0.-beta.2. Some fixes to subdomains listening on local 127.0.0.1. Change GetURI to ParseURI 2016-06-04 23:07:19 +03:00
httperror.go ResetBody on EmitError 2016-06-02 05:05:54 +03:00
iris_singleton.go Wildcard subdomain full support | v3.0.0-beta.2 2016-06-04 16:20:32 +03:00
iris.go Add history for v3.0.0.-beta.2. Some fixes to subdomains listening on local 127.0.0.1. Change GetURI to ParseURI 2016-06-04 23:07:19 +03:00
LICENSE Version 3.0.0-beta cleaned 2016-05-30 17:08:09 +03:00
party.go Add history for v3.0.0.-beta.2. Some fixes to subdomains listening on local 127.0.0.1. Change GetURI to ParseURI 2016-06-04 23:07:19 +03:00
plugin.go Nothing special: Linting 2016-06-03 05:11:50 +03:00
README.md Wildcard subdomain full support | v3.0.0-beta.2 2016-06-04 16:20:32 +03:00
route.go Add history for v3.0.0.-beta.2. Some fixes to subdomains listening on local 127.0.0.1. Change GetURI to ParseURI 2016-06-04 23:07:19 +03:00
router.go Add history for v3.0.0.-beta.2. Some fixes to subdomains listening on local 127.0.0.1. Change GetURI to ParseURI 2016-06-04 23:07:19 +03:00
THIRDPARTY.md Version 3.0.0-beta cleaned 2016-05-30 17:08:09 +03:00
tree.go Nothing special: Linting 2016-06-03 05:11:50 +03:00

Iris Logo

Travis Widget Release Widget Report Widget License Widget Gitter Widget Documentation Widget

Benchmark Wizzard Processing Time Horizontal Graph

$ cat main.go
package main

import  "github.com/kataras/iris"

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.

Installation

The only requirement is Go 1.6

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

If you are connected to the Internet through China click here

Features

  • Focus on high performance
  • Robust routing & 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

Docs & Community

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

  • Post an issue or idea here
  • Chat with us

Open debates

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

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.

Benchmark Wizzard Processing Time Horizontal Graph

Please click here to view all detailed benchmarks.

Testing

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.

Versioning

Current: v3.0.0-beta.2

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).
  • Find and provide support for the most stable template engine and be able to change it via the configuration, keep html/templates support.
  • Extend, test and publish to the public the Iris' cmd.
  • Route naming and html url func, requested here.

If you're willing to donate click here

People

The author of Iris is @kataras

License

This project is licensed under the Apache License 2.0.

License can be found here.