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
Gerasimos (Makis) Maropoulos 09a410c6cb example: gRPC-compatible controller
as requested at: https://github.com/kataras/iris/issues/1449


Former-commit-id: a0af1a78bcfef85f297c5087c8cbb00124226036
2020-02-12 19:27:11 +02:00
_benchmarks obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository 2019-10-25 01:27:02 +03:00
_examples example: gRPC-compatible controller 2020-02-12 19:27:11 +02:00
.github fix #1407 2019-12-19 07:10:31 +02:00
cache version 12.1.5 2020-02-02 16:29:06 +02:00
context fix #1446 2020-02-10 20:35:19 +02:00
core minor 2020-02-11 03:24:57 +02:00
hero version 12.1.5 2020-02-02 16:29:06 +02:00
httptest obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository 2019-10-25 01:27:02 +03:00
i18n miscellaneous 2020-01-07 03:41:07 +02:00
macro version 12.1.5 2020-02-02 16:29:06 +02:00
middleware version 12.1.5 2020-02-02 16:29:06 +02:00
mvc version 12.1.5 2020-02-02 16:29:06 +02:00
sessions version 12.1.5 2020-02-02 16:29:06 +02:00
typescript version 12.1.5 2020-02-02 16:29:06 +02:00
versioning obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository 2019-10-25 01:27:02 +03:00
view Update to version 12.1.6 2020-02-05 12:36:21 +02:00
websocket obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository 2019-10-25 01:27:02 +03:00
.fossa.yml Add the new websocket package (which is just a helper for kataras/neffos) and an example for go server, client, browser client and nodejs client. Add a .fossa.yml and the generated NOTICE file for 3rd-party libs. Update go.mod, go.sum. Update the vendor folder for pongo2 to its latest master as well 2019-06-02 17:49:45 +03:00
.gitattributes minor 2020-01-05 18:27:21 +02:00
.gitignore fixes, i18n, sitemap generator and new examples 2019-12-13 23:06:18 +02:00
.travis.yml version 12.1.5 2020-02-02 16:29:06 +02:00
AUTHORS Update to version 8.5.5 | Read HISTORY.md 2017-11-02 05:54:33 +02:00
CODE_OF_CONDUCT.md Update to version 8.5.5 | Read HISTORY.md 2017-11-02 05:54:33 +02:00
configuration_test.go miscellaneous 2020-01-07 03:41:07 +02:00
configuration.go Fix typo of permanent 2020-01-12 21:41:29 +08:00
CONTRIBUTING.md update faq, contributing and go workflow 2019-11-20 02:51:16 +02:00
doc.go Update to version 12.1.7 2020-02-10 19:40:17 +02:00
FAQ.md update faq, contributing and go workflow 2019-11-20 02:51:16 +02:00
go.mod example: gRPC-compatible controller 2020-02-12 19:27:11 +02:00
go19.go Fix typo of middle 2020-01-12 21:43:31 +08:00
HISTORY_ES.md Update to version 12.1.7 2020-02-10 19:40:17 +02:00
HISTORY.md Update to version 12.1.7 2020-02-10 19:40:17 +02:00
iris.go Update to version 12.1.7 2020-02-10 19:40:17 +02:00
LICENSE miscellaneous 2020-01-07 03:41:07 +02:00
NOTICE Update to version 12.1.6 2020-02-05 12:36:21 +02:00
README_ES.md Translate README to Russian language, add link to other trans 2019-12-26 10:31:28 +03:00
README_FA.md Translate README to Russian language, add link to other trans 2019-12-26 10:31:28 +03:00
README_GR.md Translate README to Russian language, add link to other trans 2019-12-26 10:31:28 +03:00
README_KO.md Translate README to Russian language, add link to other trans 2019-12-26 10:31:28 +03:00
README_RU.md Update README_RU.md 2019-12-26 10:36:30 +03:00
README_ZH.md Translate README to Russian language, add link to other trans 2019-12-26 10:31:28 +03:00
README.md minor: README: test alignation (2) 2020-02-11 04:02:06 +02:00
VERSION Update to version 12.1.7 2020-02-10 19:40:17 +02:00

Iris Web Framework

build status FOSSA Status view examples chat

Iris is a fast, simple yet fully featured and very efficient web framework for Go.

It provides a beautifully expressive and easy to use foundation for your next website or API.

Learn what others saying about Iris and star this open-source project to support its potentials.

📖 Learning Iris

Quick start
# https://github.com/kataras/iris/wiki/Installation
$ go get github.com/kataras/iris/v12@latest
# assume the following code in example.go file
$ cat example.go
package main

import "github.com/kataras/iris/v12"

func main() {
    app := iris.New()
    app.Get("/ping", func(ctx iris.Context) {
        ctx.JSON(iris.Map{
            "message": "pong",
        })
    })

    app.Listen(":8080")
}
# run example.go and
# visit http://localhost:8080/ping on browser
$ go run example.go

Routing is powered by muxie, the most powerful and fastest trie-based software written in Go.

Iris contains extensive and thorough wiki making it easy to get started with the framework.

For a more detailed technical documentation you can head over to our godocs. And for executable code you can always visit the _examples repository's subdirectory.

Do you like to read while traveling?

Book cover

You can request a PDF version and online access of the E-Book today and be participated in the development of Iris.

🙌 Contributing

We'd love to see your contribution to the Iris Web Framework! For more information about contributing to the Iris project please check the CONTRIBUTING.md file.

List of all Contributors

🛡 Security Vulnerabilities

If you discover a security vulnerability within Iris, please send an e-mail to iris-go@outlook.com. All security vulnerabilities will be promptly addressed.

📝 License

This project is licensed under the BSD 3-clause license, just like the Go project itself.

The project name "Iris" was inspired by the Greek mythology.