1 Star 0 Fork 0

none / iris

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-3-Clause

Iris

build status report card view examples chat release

Iris 是基于 Go 编写的一个快速,简单但功能齐全且非常高效的 Web 框架。 它为您的下一个网站或 API 提供了一个非常富有表现力且易于使用的基础。

看看 其他人如何评价 Iris,同时欢迎各位点亮 star

学习 Iris

快速入门
# 假设文件已经存在
$ cat example.go
package main

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

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

    app.Listen(":8080")
}
# 运行 example.go
# 在浏览器中访问 http://localhost:8080/ping
$ go run example.go

路由由 muxie 提供支持,muxie 是基于 Go 编写的最强大最快速的基于 trie 的路由

Iris 包含详细而完整的 文档,使你很容易开始使用该框架。

要了解更多详细的技术文档,可以访问我们的 godocs。对于可执行代码,可以随时访问示例代码,在仓库的 _examples 目录下。

你喜欢在旅行中看书吗?

你现在可以 获取 PDF 版本和在线访问我们的 电子书 并参与 Iris 的开发。

https://iris-go.com/images/iris-book-overview.png

follow author

贡献

我们很高兴看到你对 Iris Web 框架的贡献!有关为 Iris 做出贡献的更多信息,请查看 CONTRIBUTING.md

所有贡献者名单

安全漏洞

如果你发现在 Iris 存在安全漏洞,请发送电子邮件至 iris-go@outlook.com,所有安全漏洞都会被及时解决。

授权协议

项目名称 "Iris" 的灵感来自于希腊神话。

Iris Web 框架授权基于 3-Clause BSD License 许可的免费开源软件。

Copyright (c) 2017-2020 The Iris Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Iris nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

简介

暂无描述 展开 收起
BSD-3-Clause
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/m_xianfeng_wu/iris.git
git@gitee.com:m_xianfeng_wu/iris.git
m_xianfeng_wu
iris
iris
master

搜索帮助