Skip to content

luisjakon/lightning

Repository files navigation

Lightning

Lightning is a simple, high performance and secure web framework for Golang. This project aims to become a powerful web development tool and make developer easily to build a high-performance, secure and stronger web application.

This project has just been launched, if you find a bug , please tell me, I will fix it as soon as possible.

And all comments or suggestions regarding Lightning web framework are welcome. :)

Features

  • high performance

Lightning uses fasthttp instead of net/http, so it is more fast than net/http‘s frameworks, and not only that, it uses fasthttprouter as handler's router, and it's architecture is very simple, so it run fast.

  • lightweight

Lightning's architecture is very simple, such as the design of the Middleware.

  • easy to use

We provides some examples below, see also Examples.

  • components
Name Description Usage
Middleware Middleware Middleware
Session Session Session
RESTFUL API RESTFUL API Restful API
CSRF Middleware CSRF attack protection CSRF Protection
Captcha Captcha Captcha
JWT JSON WEB TOKEN JSON WBE TOKEN

Benchmark

See also Go Web Framework Benchmark.

Documentation

Examples

TODO LIST

  • Documentation
  • WebSocket

Relevant Projects

About

Lightning: a simple high-performance app / api server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages