mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore]: Bump github.com/gin-contrib/sessions from 0.0.5 to 1.0.0 (#2782)
This commit is contained in:
11
vendor/github.com/gin-contrib/sessions/.goreleaser.yaml
generated
vendored
11
vendor/github.com/gin-contrib/sessions/.goreleaser.yaml
generated
vendored
@ -1,8 +1,7 @@
|
||||
project_name: queue
|
||||
|
||||
builds:
|
||||
-
|
||||
# If true, skip the build.
|
||||
- # If true, skip the build.
|
||||
# Useful for library projects.
|
||||
# Default is false
|
||||
skip: true
|
||||
@ -38,10 +37,10 @@ changelog:
|
||||
- title: Features
|
||||
regexp: "^.*feat[(\\w)]*:+.*$"
|
||||
order: 0
|
||||
- title: 'Bug fixes'
|
||||
- title: "Bug fixes"
|
||||
regexp: "^.*fix[(\\w)]*:+.*$"
|
||||
order: 1
|
||||
- title: 'Enhancements'
|
||||
- title: "Enhancements"
|
||||
regexp: "^.*chore[(\\w)]*:+.*$"
|
||||
order: 2
|
||||
- title: Others
|
||||
@ -52,6 +51,6 @@ changelog:
|
||||
# the changelog
|
||||
# Default is empty
|
||||
exclude:
|
||||
- '^docs'
|
||||
- 'CICD'
|
||||
- "^docs"
|
||||
- "CICD"
|
||||
- typo
|
||||
|
14
vendor/github.com/gin-contrib/sessions/README.md
generated
vendored
14
vendor/github.com/gin-contrib/sessions/README.md
generated
vendored
@ -1,11 +1,10 @@
|
||||
# sessions
|
||||
|
||||
[](https://github.com/gin-contrib/sessions/actions/workflows/lint.yml)
|
||||
[](https://github.com/gin-contrib/sessions/actions/workflows/testing.yml)
|
||||
[](https://github.com/gin-contrib/sessions/actions/workflows/lint.yml)
|
||||
[](https://github.com/gin-contrib/sessions/actions/workflows/testing.yml)
|
||||
[](https://codecov.io/gh/gin-contrib/sessions)
|
||||
[](https://goreportcard.com/report/github.com/gin-contrib/sessions)
|
||||
[](https://godoc.org/github.com/gin-contrib/sessions)
|
||||
[](https://gitter.im/gin-gonic/gin)
|
||||
|
||||
Gin middleware for session management with multi-backend support:
|
||||
|
||||
@ -13,7 +12,7 @@ Gin middleware for session management with multi-backend support:
|
||||
- [Redis](#redis)
|
||||
- [memcached](#memcached)
|
||||
- [MongoDB](#mongodb)
|
||||
- [GoRM](#gorm)
|
||||
- [GORM](#gorm)
|
||||
- [memstore](#memstore)
|
||||
- [PostgreSQL](#postgresql)
|
||||
|
||||
@ -251,6 +250,7 @@ func main() {
|
||||
### MongoDB
|
||||
|
||||
#### mgo
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
@ -291,7 +291,8 @@ func main() {
|
||||
```
|
||||
|
||||
#### mongo-driver
|
||||
```
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
@ -371,9 +372,8 @@ func main() {
|
||||
}
|
||||
```
|
||||
|
||||
### GoRM
|
||||
### GORM
|
||||
|
||||
[embedmd]:# (_example/gorm/main.go go)
|
||||
```go
|
||||
package main
|
||||
|
||||
|
1
vendor/github.com/gin-contrib/sessions/session_options_go1.10.go
generated
vendored
1
vendor/github.com/gin-contrib/sessions/session_options_go1.10.go
generated
vendored
@ -1,3 +1,4 @@
|
||||
//go:build !go1.11
|
||||
// +build !go1.11
|
||||
|
||||
package sessions
|
||||
|
4
vendor/github.com/gin-contrib/sessions/session_options_go1.11.go
generated
vendored
4
vendor/github.com/gin-contrib/sessions/session_options_go1.11.go
generated
vendored
@ -1,10 +1,12 @@
|
||||
//go:build go1.11
|
||||
// +build go1.11
|
||||
|
||||
package sessions
|
||||
|
||||
import (
|
||||
gsessions "github.com/gorilla/sessions"
|
||||
"net/http"
|
||||
|
||||
gsessions "github.com/gorilla/sessions"
|
||||
)
|
||||
|
||||
// Options stores configuration for a session or session store.
|
||||
|
Reference in New Issue
Block a user