package
1.2.0-rc1
Repository: https://github.com/adelowo/gitea.git
Documentation: pkg.go.dev

# Functions

APIContexter returns apicontext as macaron middleware.
CheckUnit will check whether.
Contexter initializes a classic context for a request.
GitHookService checks if repository Git hooks service has been enabled.
HandleOrgAssignment handles organization assignment.
LoadRepoUnits loads repsitory's units, it should be called after repository and user loaded.
OrgAssignment returns a macaron middleware to handle organization assignment.
RedirectToRepo redirect to a differently-named repository.
ReferencesGitRepo injects the GitRepo into the Context.
RepoAssignment returns a macaron to handle repository assignment.
RepoRef handles repository reference name including those contain `/`.
RequireRepoAdmin returns a macaron middleware for requiring repository admin permission.
RequireRepoWriter returns a macaron middleware for requiring repository write permission.
RetrieveBaseRepo retrieves base repository.
Toggle returns toggle options as middleware.
UnitTypes returns a macaron middleware to set unit types to context variables.

# Structs

APIContext is a specific macaron context for API service.
APIEmpty is an empty response swagger:response empty.
APIError is error format response swagger:response error.
APIForbiddenError is a forbidden error response swagger:response forbidden.
APINotFound is a not found empty response swagger:response notFound.
APIOrganization contains organization and team.
APIRedirect is a redirect response swagger:response redirect.
APIValidationError is error format response related to input validation swagger:response validationError.
Context represents context of a request.
Organization contains organization context.
PullRequest contains informations to make a pull request.
Repository contains information to operate a repository.
ToggleOptions contains required or check options.