mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
a0dee3abdb
I did maintain and upgrade them because community is not evolved too much on these, but that's OK for now. Former-commit-id: b811c133fbfb310834c67d78248f944e0a89c9a6
6.2 KiB
6.2 KiB
Examples
This folder provides easy to understand code snippets on how to get started with web development with the Go programming language using the Iris web framework.
It doesn't contains "best ways" neither explains all its features. It's just a simple, practical cookbook for young Gophers!
Table of contents
- Level: Beginner
- Hello world
- Overview
- Listening
- Configuration
- Routing
- Transform any third-party handler to iris-compatible handler
- Internal Application File Logger
- Custom HTTP Errors
- Write JSON
- Read JSON
- Read Form
- Favicon
- File Server
- Send Files
- Stream Writer
- Send An E-mail
- Upload/Read Files
- Recovery
- Profiling (pprof)
- Request Logger
- Basic Authentication
- Level: Intermediate
- OAUth2
- Transactions
- HTTP Testing
- Watch & Compile Typescript source files
- Cloud Editor
- Serve Embedded Files
- HTTP Access Control
- Cache Markdown
- Localization and Internationalization
- Graceful Shutdown
- Custom HTTP Server
- Custom Context
- Route State
- View Engine
- Sessions
- Flash Messages
- Websockets
- Subdomains
- Level: Advanced
You may want to check out examples for jwt, cors and the rest of community-maden middleware by clicking here
Do not forget to star or watch the project in order to stay updated with the latest tech trends, it takes some seconds for the sake of go!
Developers should read the official documentation in depth, for deep understanding.