{"modulePath":"github.com/stackdocker/gogs","version":"v0.9.13","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package routers\n\n## Constants\n\n```go\nconst (\n\tHOME          base.TplName = \"home\"\n\tEXPLORE_REPOS base.TplName = \"explore/repos\"\n\tEXPLORE_USERS base.TplName = \"explore/users\"\n)\n```\n\n```go\nconst (\n\tINSTALL base.TplName = \"install\"\n)\n```\n\n## Functions\n\n```go\nfunc ExploreRepos(ctx *context.Context)\n```\n\n```go\nfunc ExploreUsers(ctx *context.Context)\n```\n\n```go\nfunc GlobalInit()\n```\nGlobalInit is for global configuration reload-able.\n\n```go\nfunc Home(ctx *context.Context)\n```\n\n```go\nfunc Install(ctx *context.Context)\n```\n\n```go\nfunc InstallInit(ctx *context.Context)\n```\n\n```go\nfunc InstallPost(ctx *context.Context, form auth.InstallForm)\n```\n\n```go\nfunc NewServices()\n```\n\n```go\nfunc NotFound(ctx *context.Context)\n```\n\n```go\nfunc RenderRepoSearch(ctx *context.Context, opts *RepoSearchOptions)\n```\n\n```go\nfunc RenderUserSearch(ctx *context.Context, opts *UserSearchOptions)\n```\n\n## Types\n\n```go\ntype RepoSearchOptions struct {\n\tCounter  func() int64\n\tRanger   func(int, int) ([]*models.Repository, error)\n\tPrivate  bool\n\tPageSize int\n\tOrderBy  string\n\tTplName  base.TplName\n}\n```\n\n```go\ntype UserSearchOptions struct {\n\tType     models.UserType\n\tCounter  func() int64\n\tRanger   func(int, int) ([]*models.User, error)\n\tPageSize int\n\tOrderBy  string\n\tTplName  base.TplName\n}\n```\n\n","path":"github.com/stackdocker/gogs/routers","name":"routers","synopsis":"","isRedistributable":true}
