CleverGo 是一个用Go语言编写的Web框架

CleverGo 是一个用Go语言编写的Web框架,具有简单、安全、高性能的特点。

Go Web框架

详细介绍

CleverGo

Go Report Card GoDoc Build Status Coverage Status license GitHub release codebeat badge

? 中文介绍

CleverGo is a simple, high performance and secure web framework for Go (golang programing language). It built on top of fasthttp.

  1. Features
  2. Performance
  3. Installation
  4. Documentation
  5. Middlewares
  6. Examples
  7. Contribution
  8. Actual Applications

Features

  • High performance

  1. CleverGo uses fasthttp instead of net/http, so it is more fast than net/http‘s frameworks.
  2. CleverGo's router - a high performance router.
  3. Simple architecture.
  4. 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.

Back to top

Performance

Benchmark

Further information is available in Go Web Framework Benchmark.

Back to top

Installation

go get github.com/headwindfly/clevergo

Documentation

The documentations is not complete now, but we provided completed examples.

Back to top

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

Back to top

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.

Back to top

Contribution

  1. Fork this repository.
  2. Added your code on your repository.
  3. Send pull request.

Back to top

Relevant Packages

Most of packages can be found at https://github.com/clevergo.

Back to top

Actual Applications

How to add my application?

Fork and added your application in README.md and then send pull request.

Back to top

推荐源码