MCPcopy Create free account
hub / github.com/TruthHun/BookStack / init

Function init

utils/jwt.go:26–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24)
25
26func init() {
27 go func() {
28 for {
29 time.Sleep(600 * time.Second)
30 clearExpireSign()
31 }
32 }()
33}
34
35func clearExpireSign() {
36 // 清除超过24小时

Callers

nothing calls this directly

Calls 1

clearExpireSignFunction · 0.85

Tested by

no test coverage detected