Documentation ¶
Overview ¶
Package private includes all internal routes. The package name internal is ideal but Golang is not allowed, so we use private as package name instead.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanUserPush ¶ added in v1.3.1
CanUserPush returns if user push
func CheckInternalToken ¶
CheckInternalToken check internal token is set
func GetProtectedBranchBy ¶
GetProtectedBranchBy get protected branch information
func RegisterRoutes ¶
RegisterRoutes registers all internal APIs routes to web application. These APIs will be invoked by internal commands for example `gitea serv` and etc.
func UpdatePublicKey ¶
UpdatePublicKey update publick key updates
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.