Update github.com/lafriks/xormstore and tidy up mod.go (#8020)
This commit is contained in:
parent
dd3ba9bb6b
commit
cedb285e25
20 changed files with 286 additions and 165 deletions
3
vendor/github.com/gorilla/sessions/store.go
generated
vendored
3
vendor/github.com/gorilla/sessions/store.go
generated
vendored
|
@ -47,9 +47,6 @@ type Store interface {
|
|||
// It is recommended to use an authentication key with 32 or 64 bytes.
|
||||
// The encryption key, if set, must be either 16, 24, or 32 bytes to select
|
||||
// AES-128, AES-192, or AES-256 modes.
|
||||
//
|
||||
// Use the convenience function securecookie.GenerateRandomKey() to create
|
||||
// strong keys.
|
||||
func NewCookieStore(keyPairs ...[]byte) *CookieStore {
|
||||
cs := &CookieStore{
|
||||
Codecs: securecookie.CodecsFromPairs(keyPairs...),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue