explore

package
v1.22.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Code

func Code(ctx *context.Context)

Code render explore code page

func Organizations

func Organizations(ctx *context.Context)

Organizations render explore organizations page

func RenderRepoSearch

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

RenderRepoSearch render repositories search page This function is also used to render the Admin Repository Management page.

func RenderUserSearch

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

RenderUserSearch render user search page

func Repos

func Repos(ctx *context.Context)

Repos render explore repositories page

func TopicSearch added in v1.17.0

func TopicSearch(ctx *context.Context)

TopicSearch search for creating topic

func Users

func Users(ctx *context.Context)

Users render explore users page

Types

type RepoSearchOptions

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

RepoSearchOptions when calling search repositories

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL