mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-09 03:11:51 +01:00
update with deps
This commit is contained in:
parent
bdd6aef746
commit
7170011f4d
2 changed files with 5 additions and 5 deletions
|
@ -75,12 +75,12 @@ func checkVersion() {
|
||||||
|
|
||||||
// Check dependency version.
|
// Check dependency version.
|
||||||
checkers := []VerChecker{
|
checkers := []VerChecker{
|
||||||
{"github.com/Unknwon/macaron", macaron.Version, "0.4.9"},
|
{"github.com/Unknwon/macaron", macaron.Version, "0.5.0"},
|
||||||
{"github.com/macaron-contrib/binding", binding.Version, "0.0.4"},
|
{"github.com/macaron-contrib/binding", binding.Version, "0.0.4"},
|
||||||
{"github.com/macaron-contrib/cache", cache.Version, "0.0.5"},
|
{"github.com/macaron-contrib/cache", cache.Version, "0.0.7"},
|
||||||
{"github.com/macaron-contrib/csrf", csrf.Version, "0.0.1"},
|
{"github.com/macaron-contrib/csrf", csrf.Version, "0.0.1"},
|
||||||
{"github.com/macaron-contrib/i18n", i18n.Version, "0.0.5"},
|
{"github.com/macaron-contrib/i18n", i18n.Version, "0.0.5"},
|
||||||
{"github.com/macaron-contrib/session", session.Version, "0.1.4"},
|
{"github.com/macaron-contrib/session", session.Version, "0.1.6"},
|
||||||
{"gopkg.in/ini.v1", ini.Version, "1.0.1"},
|
{"gopkg.in/ini.v1", ini.Version, "1.0.1"},
|
||||||
}
|
}
|
||||||
for _, c := range checkers {
|
for _, c := range checkers {
|
||||||
|
|
|
@ -148,7 +148,7 @@ ADAPTER = memory
|
||||||
; For "memory" only, GC interval in seconds, default is 60
|
; For "memory" only, GC interval in seconds, default is 60
|
||||||
INTERVAL = 60
|
INTERVAL = 60
|
||||||
; For "redis" and "memcache", connection host address
|
; For "redis" and "memcache", connection host address
|
||||||
; redis: `:6039`
|
; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180
|
||||||
; memcache: `127.0.0.1:11211`
|
; memcache: `127.0.0.1:11211`
|
||||||
HOST =
|
HOST =
|
||||||
|
|
||||||
|
@ -158,7 +158,7 @@ PROVIDER = memory
|
||||||
; Provider config options
|
; Provider config options
|
||||||
; memory: not have any config yet
|
; memory: not have any config yet
|
||||||
; file: session file path, e.g. `data/sessions`
|
; file: session file path, e.g. `data/sessions`
|
||||||
; redis: config like redis server addr, poolSize, password, e.g. `127.0.0.1:6379,100,gogs`
|
; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180
|
||||||
; mysql: go-sql-driver/mysql dsn config string, e.g. `root:password@/session_table`
|
; mysql: go-sql-driver/mysql dsn config string, e.g. `root:password@/session_table`
|
||||||
PROVIDER_CONFIG = data/sessions
|
PROVIDER_CONFIG = data/sessions
|
||||||
; Session cookie name
|
; Session cookie name
|
||||||
|
|
Loading…
Reference in a new issue