package
1.9.0-dev
Repository: https://github.com/quantonganh/gitea.git
Documentation: pkg.go.dev

# Functions

CanUserPush returns if user push.
CheckInternalToken check internal token is set.
CheckUnitUser chainload to models.CheckUnitUser.
GetActivePullRequest return an active pull request when it exists or an empty object.
GetDeployKey chainload to models.GetDeployKey.
GetProtectedBranchBy get protected branch information.
GetPublicKeyByID chainload to models.GetPublicKeyByID.
GetRepository return the default branch of a repository.
GetRepositoryByOwnerAndName chainload to models.GetRepositoryByOwnerAndName.
GetUserByKeyID chainload to models.GetUserByKeyID.
HasDeployKey chainload to models.HasDeployKey.
InitWiki initilizes wiki via repo id.
PushUpdate update public key updates.
RegisterRoutes registers all internal APIs routes to web application.
UpdateDeployKey update deploy key updates.
UpdatePublicKey update publick key updates.