explore

package
v1.15.5 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: MIT Imports: 10 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

func RenderUserSearch

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

RenderUserSearch render user search page

func Repos

func Repos(ctx *context.Context)

Repos render explore repositories page

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
	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