forked from jason/cpolis
Abstract sessions.Session with b.session
This commit is contained in:
@ -10,7 +10,10 @@ import (
|
||||
"github.com/gorilla/sessions"
|
||||
)
|
||||
|
||||
type CookieStore struct{ sessions.CookieStore }
|
||||
type (
|
||||
CookieStore struct{ sessions.CookieStore }
|
||||
Session struct{ sessions.Session }
|
||||
)
|
||||
|
||||
func NewKey() ([]byte, error) {
|
||||
key := make([]byte, 32)
|
||||
|
Reference in New Issue
Block a user