CleverGo 是一个用Go语言编写的Web框架
CleverGo 是一个用Go语言编写的Web框架,具有简单、安全、高性能的特点。
Go Web框架
共5Star
详细介绍
CleverGo
CleverGo is a simple, high performance and secure web framework for Go (golang programing language). It built on top of fasthttp.
- Features
- Performance
- Installation
- Documentation
- Middlewares
- Examples
- Contribution
- Actual Applications
Features
High performance
- CleverGo uses fasthttp instead of net/http, so it is more fast than net/http‘s frameworks.
- CleverGo's router - a high performance router.
- Simple architecture.
- No reflect.
Please refer to Go Web Framework Benchmark for getting more detail.
- Simple
CleverGo's architecture is very simple, such as the Middleware and Handler.
- Easy to use
We provides some examples below, see also Examples.
Performance
Further information is available in Go Web Framework Benchmark.
Installation
go get github.com/headwindfly/clevergo
Documentation
The documentations is not complete now, but we provided completed examples.
Middlewares
Name | Description | Usage |
---|---|---|
Session Middlware | Session Middleware | Session Middlware |
CSRF Middleware | CSRF attack protection | CSRF Middleware |
JWT Middleware | JSON WEB TOKEN Middleware | JWT Middleware |
Examples
Name | Description | Usage |
---|---|---|
Basic Usage | Basic Usage | Basic Usage |
Application | Application | Application |
Middleware | Middleware | Middleware |
Websocket | Websocket | Websocket |
Session | Session | Session |
RESTFUL API | RESTFUL API | Restful API |
CSRF Middleware | CSRF attack protection | CSRF Protection |
Captcha | Captcha | Captcha |
JSON WEB TOKEN | JSON WEB TOKEN | JSON WBE TOKEN |
More examples can be found at Examples.
Contribution
- Fork this repository.
- Added your code on your repository.
- Send pull request.
Relevant Packages
Most of packages can be found at https://github.com/clevergo.
Actual Applications
How to add my application?
Fork and added your application in README.md and then send pull request.