Documentation ¶
Index ¶
- func ExploreOrganizations(ctx *context.Context)
- func ExploreRepos(ctx *context.Context)
- func ExploreUsers(ctx *context.Context)
- func GlobalInit()
- func Home(ctx *context.Context)
- func Install(ctx *context.Context)
- func InstallInit(ctx *context.Context)
- func InstallPost(ctx *context.Context, form auth.InstallForm)
- func NewServices()
- func NotFound(ctx *context.Context)
- func RenderRepoSearch(ctx *context.Context, opts *RepoSearchOptions)
- func RenderUserSearch(ctx *context.Context, opts *UserSearchOptions)
- type RepoSearchOptions
- type UserSearchOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExploreOrganizations ¶
ExploreOrganizations render explore organizations page
func ExploreRepos ¶
ExploreRepos render explore repositories page
func InstallInit ¶
InstallInit prepare for rendering installation page
func InstallPost ¶
func InstallPost(ctx *context.Context, form auth.InstallForm)
InstallPost response for submit install items
func RenderRepoSearch ¶
func RenderRepoSearch(ctx *context.Context, opts *RepoSearchOptions)
RenderRepoSearch render repositories search page
func RenderUserSearch ¶
func RenderUserSearch(ctx *context.Context, opts *UserSearchOptions)
RenderUserSearch render user search page
Types ¶
type RepoSearchOptions ¶
type RepoSearchOptions struct { Ranger func(*models.SearchRepoOptions) (models.RepositoryList, int64, error) Searcher *models.User Private bool PageSize int TplName base.TplName }
RepoSearchOptions when calling search repositories
Click to show internal directories.
Click to hide internal directories.