gitea: code.gitea.io/gitea/routers Index | Files | Directories

package routers

import "code.gitea.io/gitea/routers"

Index

Package Files

home.go init.go install.go metrics.go swagger_json.go

func ExploreCode Uses

func ExploreCode(ctx *context.Context)

ExploreCode render explore code page

func ExploreOrganizations Uses

func ExploreOrganizations(ctx *context.Context)

ExploreOrganizations render explore organizations page

func ExploreRepos Uses

func ExploreRepos(ctx *context.Context)

ExploreRepos render explore repositories page

func ExploreUsers Uses

func ExploreUsers(ctx *context.Context)

ExploreUsers render explore users page

func GlobalInit Uses

func GlobalInit()

GlobalInit is for global configuration reload-able.

func Home Uses

func Home(ctx *context.Context)

Home render home page

func Install Uses

func Install(ctx *context.Context)

Install render installation page

func InstallInit Uses

func InstallInit(ctx *context.Context)

InstallInit prepare for rendering installation page

func InstallPost Uses

func InstallPost(ctx *context.Context, form auth.InstallForm)

InstallPost response for submit install items

func Metrics Uses

func Metrics(ctx *context.Context)

Metrics validate auth token and render prometheus metrics

func NewServices Uses

func NewServices()

NewServices init new services

func NotFound Uses

func NotFound(ctx *context.Context)

NotFound render 404 page

func RenderRepoSearch Uses

func RenderRepoSearch(ctx *context.Context, opts *RepoSearchOptions)

RenderRepoSearch render repositories search page

func RenderUserSearch Uses

func RenderUserSearch(ctx *context.Context, opts *models.SearchUserOptions, tplName base.TplName)

RenderUserSearch render user search page

func SwaggerV1Json Uses

func SwaggerV1Json(ctx *context.Context)

SwaggerV1Json render swagger v1 json

type RepoSearchOptions Uses

type RepoSearchOptions struct {
    OwnerID  int64
    Private  bool
    PageSize int
    TplName  base.TplName
}

RepoSearchOptions when calling search repositories

Directories

PathSynopsis
admin
api/v1Package v1 Gitea API.
api/v1/admin
api/v1/misc
api/v1/org
api/v1/repo
api/v1/swagger
api/v1/user
api/v1/utils
dev
org
privatePackage private includes all internal routes.
repo
routes
user
user/setting
utils

Package routers imports 38 packages (graph) and is imported by 14 packages. Updated 2019-11-15. Refresh now. Tools for package owners.