routers

package
v0.11.19 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2017 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HOME                  = "home"
	EXPLORE_REPOS         = "explore/repos"
	EXPLORE_USERS         = "explore/users"
	EXPLORE_ORGANIZATIONS = "explore/organizations"
)
View Source
const (
	INSTALL = "install"
)

Variables

This section is empty.

Functions

func ExploreOrganizations added in v0.9.113

func ExploreOrganizations(c *context.Context)

func ExploreRepos added in v0.9.13

func ExploreRepos(c *context.Context)

func ExploreUsers added in v0.9.13

func ExploreUsers(c *context.Context)

func GlobalInit

func GlobalInit()

GlobalInit is for global configuration reload-able.

func Home

func Home(c *context.Context)

func Install

func Install(c *context.Context)

func InstallInit added in v0.5.13

func InstallInit(c *context.Context)

func InstallPost added in v0.3.0

func InstallPost(c *context.Context, f form.Install)

func NewServices added in v0.3.0

func NewServices()

func NotFound

func NotFound(c *context.Context)

func RenderUserSearch added in v0.9.13

func RenderUserSearch(c *context.Context, opts *UserSearchOptions)

Types

type UserSearchOptions added in v0.9.13

type UserSearchOptions struct {
	Type     models.UserType
	Counter  func() int64
	Ranger   func(int, int) ([]*models.User, error)
	PageSize int
	OrderBy  string
	TplName  string
}

Directories

Path Synopsis
api
v1

Jump to

Keyboard shortcuts

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