mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-16 22:15:43 +08:00
Introduce RequestContext: is a short-lived context that is used to store request-specific data. RequestContext could be used to clean form tmp files, close context git repo, and do some tracing in the future. Then a lot of legacy code could be removed or improved. For example: most `ctx.Repo.GitRepo.Close()` could be removed because the git repo could be closed when the request is done. |
||
|---|---|---|
| .. | ||
| source | ||
| auth_test.go | ||
| auth_token_test.go | ||
| auth_token.go | ||
| auth.go | ||
| basic.go | ||
| group.go | ||
| httpsign.go | ||
| interface.go | ||
| main_test.go | ||
| oauth2_test.go | ||
| oauth2.go | ||
| reverseproxy.go | ||
| session.go | ||
| signin.go | ||
| source.go | ||
| sspi.go | ||
| sspiauth_posix.go | ||
| sspiauth_windows.go | ||
| sync.go | ||