Imports code.gitea.io/gitea/models code.gitea.io/gitea/modules/context code.gitea.io/gitea/modules/log code.gitea.io/gitea/modules/setting code.gitea.io/sdk/gitea gopkg.in/macaron.v1 github.com/dgrijalva/jwt-go Standard library imports crypto/sha256 encoding/base64 encoding/hex encoding/json errors fmt io net/http os path path/filepath regexp strconv strings time