mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
Update DONATIONS.md
This commit is contained in:
parent
7efa206ec4
commit
5e4db0e56b
2
.github/ISSUE_TEMPLATE.md
vendored
2
.github/ISSUE_TEMPLATE.md
vendored
|
@ -1,4 +1,4 @@
|
|||
- Version : **V4-LTS**
|
||||
- Version : **5.0.1**
|
||||
|
||||
- Operating System:
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ I'm grateful for all the generous donations. Iris is fully funded by these dona
|
|||
- ANONYMOUS(Waiting For Approval) donated 20 EUR at October 19
|
||||
- [Damon Zhao](https://github.com/se77en) donated 20 EUR at October 21
|
||||
- ANONYMOUS(BY OWN WILL) donated 50 EUR at October 21
|
||||
- ANONYMOUS(please contact with [me](mailto:kataras2006@hotmail.com), mail sent failed) donated 30 EUR at November 4
|
||||
- [exponity - consulting & digital transformation](https://github.com/exponity), donated 30 EUR at November 4
|
||||
|
||||
> The name or/and github username link added after donator's approvement via e-mail.
|
||||
|
||||
|
|
101
iris.go
101
iris.go
|
@ -1,53 +1,54 @@
|
|||
//Package iris the fastest go web framework in (this) Earth.
|
||||
///NOTE: When you see 'framework' or 'station' we mean the Iris web framework's main implementation.
|
||||
//
|
||||
//
|
||||
// Basic usage
|
||||
// ----------------------------------------------------------------------
|
||||
//
|
||||
// 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",
|
||||
// "Released": "13 March 2016",
|
||||
// })
|
||||
// })
|
||||
// iris.ListenLETSENCRYPT("mydomain.com")
|
||||
// }
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
//
|
||||
// package main
|
||||
//
|
||||
// import "github.com/kataras/iris"
|
||||
//
|
||||
// func main() {
|
||||
// s1 := iris.New()
|
||||
// s1.Get("/hi_json", func(c *iris.Context) {
|
||||
// c.JSON(200, iris.Map{
|
||||
// "Name": "Iris",
|
||||
// "Released": "13 March 2016",
|
||||
// })
|
||||
// })
|
||||
//
|
||||
// s2 := iris.New()
|
||||
// s2.Get("/hi_raw_html", func(c *iris.Context) {
|
||||
// c.HTML(iris.StatusOK, "<b> Iris </b> welcomes <h1>you!</h1>")
|
||||
// })
|
||||
//
|
||||
// go s1.Listen(":8080")
|
||||
// s2.Listen(":1993")
|
||||
// }
|
||||
//
|
||||
// -----------------------------DOCUMENTATION----------------------------
|
||||
// ----------------------------_______________---------------------------
|
||||
// For middleware, template engines, response engines, sessions, websockets, mails, subdomains,
|
||||
// dynamic subdomains, routes, party of subdomains & routes, ssh and much more
|
||||
// visit https://www.gitbook.com/book/kataras/iris/details
|
||||
/*
|
||||
Package iris the fastest go web framework in (this) Earth.
|
||||
|
||||
Basic usage
|
||||
----------------------------------------------------------------------
|
||||
|
||||
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",
|
||||
"Released": "13 March 2016",
|
||||
})
|
||||
})
|
||||
iris.ListenLETSENCRYPT("mydomain.com")
|
||||
}
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
package main
|
||||
|
||||
import "github.com/kataras/iris"
|
||||
|
||||
func main() {
|
||||
s1 := iris.New()
|
||||
s1.Get("/hi_json", func(c *iris.Context) {
|
||||
c.JSON(200, iris.Map{
|
||||
"Name": "Iris",
|
||||
"Released": "13 March 2016",
|
||||
})
|
||||
})
|
||||
|
||||
s2 := iris.New()
|
||||
s2.Get("/hi_raw_html", func(c *iris.Context) {
|
||||
c.HTML(iris.StatusOK, "<b> Iris </b> welcomes <h1>you!</h1>")
|
||||
})
|
||||
|
||||
go s1.Listen(":8080")
|
||||
s2.Listen(":1993")
|
||||
}
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
For middleware, template engines, response engines, sessions, websockets, mails, subdomains,
|
||||
dynamic subdomains, routes, party of subdomains & routes, ssh and much more
|
||||
|
||||
visit https://www.gitbook.com/book/kataras/iris/details
|
||||
*/
|
||||
package iris // import "github.com/kataras/iris"
|
||||
|
||||
import (
|
||||
|
|
Loading…
Reference in New Issue
Block a user