Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/clevergo/sessions

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/clevergo/sessions

  • v1.0.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

Sessions package for Go(go programing language) fasthttp

GoDoc Build Status.

This repo fork from gorilla/sessions.

This package just support fasthttp, if you looking for a sessions package for net/http, the gorilla/sessions is better.

clevergo/sessions provides cookie, filesystem and redis sessions and infrastructure for custom session backends.

The key features are:

  • Simple API: use it as an easy way to set signed (and optionally encrypted) cookies.
  • Built-in backends to store sessions in cookies, the filesystem or redis.
  • Flash messages: session values that last until read.
  • Convenient way to switch session persistency (aka "remember me") and set other attributes.
  • Mechanism to rotate authentication and encryption keys.
  • Interfaces and infrastructure for custom session backends: sessions from different stores can be retrieved and batch-saved using a common API.

Install

go get github.com/clevergo/sessions

Examples

go run $GOPATH/src/github.com/clevergo/sessions/examples/main.go

See also examples

License

BSD licensed. See the LICENSE file for details.

FAQs

Package last updated on 16 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc