🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

github.com/golden-glow/go-sessions

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/golden-glow/go-sessions

Source
Go
Version
v0.0.0-20181119163518-cc8857aa273c
Version published
Created
Source

Repository information

This repository contains the built'n session databases for the go-sessions.

How to Register?

//...
import (
	"github.com/kataras/go-sessions"
	"github.com/kataras/go-sessions/sessiondb/$FOLDER"
)
//...

db := $FOLDER.New($FOLDER.Config{})

//...
manager:= sessions.New(sessions.Config{})
manager.UseDatabase(db)

//...

Note: You can use more than one database to save the session values, but the initial data will come from the first non-empty Load, look inside code for more information on how to create your own session database.

FAQs

Package last updated on 19 Nov 2018

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