feat: 绑定 oauth2

This commit is contained in:
naiba
2024-12-28 23:50:59 +08:00
parent 8554f3eba7
commit 18020939da
15 changed files with 360 additions and 24 deletions

View File

@@ -16,6 +16,10 @@ const (
CtxKeyRealIPStr = "ckri"
)
const (
CacheKeyOauth2State = "cko2s::"
)
type CtxKeyRealIP struct{}
type CtxKeyConnectingIP struct{}