文章分类 - Golang
摘要:Multipart/Urlencoded Form Multipart/Urlencoded 表单 func main() { app := iris.Default() app.Post("/form_post", func(ctx iris.Context) { message := ctx.P
阅读全文
摘要:Querystring parameters 查询字符串参数 func main() { app := iris.Default() // Query string parameters are parsed using the existing underlying request object.
阅读全文
摘要:Parameters in path 路径参数 func main() { app := iris.Default() // This handler will match /user/john but will not match /user/ or /user app.Get("/user/{n
阅读全文
摘要:Using GET, POST, PUT, PATCH, DELETE and OPTIONS 使用 GET, POST, PUT, PATCH, DELETE and OPTIONS func main() { // Creates an iris application with default
阅读全文
摘要:API Examples API示例 You can find a number of ready-to-run examples at Iris examples repository. 你可以在Iris示例仓库中找到许多准备就绪的示例。 使用 GET, POST, PUT, PATCH, DEL
阅读全文
摘要:Benchmarks 基准测试 Iris uses a custom version of muxie. Iris使用muxie的自定义版本。 See all benchmarks 查看所有基准测试 📖 Fires 200000 requests with a dynamic parameter
阅读全文
摘要:Quick start 快速开始 Create an empty file, let's assume its name is example.go, then open it and copy-paste the below code. 创建一个空文件,假设它的名字为example.go,然后打开
阅读全文
摘要:Installation 安装 Iris is a cross-platform software. Iris是一个跨平台软件。 The only requirement is the Go Programming Language, version 1.15 and above. 唯一的要求是Go
阅读全文

浙公网安备 33010602011771号