This commit is contained in:
ryan
2026-07-13 15:17:45 +08:00
parent 08e61ce833
commit e0eb4e5975
334 changed files with 17212 additions and 12321 deletions
+1 -1
View File
@@ -193,4 +193,4 @@ func GetDefaultManager() *Manager {
defaultManager = NewManager(secret, store)
})
return defaultManager
}
}
+1 -1
View File
@@ -159,4 +159,4 @@ func TestVerifyTokenConcurrentRace(t *testing.T) {
if got := success.Load(); got != 1 {
t.Fatalf("successful VerifyToken count = %d, want %d", got, 1)
}
}
}
+1 -1
View File
@@ -31,4 +31,4 @@ func VerifyMiddleware(mgr *Manager, scope string) gin.HandlerFunc {
c.Next()
}
}
}
+1 -1
View File
@@ -7,4 +7,4 @@ import "github.com/Rain-kl/Wavelet/internal/testhelper"
func init() {
testhelper.RegisterCleanup(ResetRuntimeSettingsForTest)
}
}