{"modulePath":"github.com/RedAFD/code-core","version":"v1.8.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package routers\n\n## Functions\n\n```go\nfunc ExploreCode(ctx *context.Context)\n```\nExploreCode render explore code page\n\n```go\nfunc ExploreOrganizations(ctx *context.Context)\n```\nExploreOrganizations render explore organizations page\n\n```go\nfunc ExploreRepos(ctx *context.Context)\n```\nExploreRepos render explore repositories page\n\n```go\nfunc ExploreUsers(ctx *context.Context)\n```\nExploreUsers render explore users page\n\n```go\nfunc GlobalInit()\n```\nGlobalInit is for global configuration reload-able.\n\n```go\nfunc Home(ctx *context.Context)\n```\nHome render home page\n\n```go\nfunc Install(ctx *context.Context)\n```\nInstall render installation page\n\n```go\nfunc InstallInit(ctx *context.Context)\n```\nInstallInit prepare for rendering installation page\n\n```go\nfunc InstallPost(ctx *context.Context, form auth.InstallForm)\n```\nInstallPost response for submit install items\n\n```go\nfunc Metrics(ctx *context.Context)\n```\nMetrics validate auth token and render prometheus metrics\n\n```go\nfunc NewServices()\n```\nNewServices init new services\n\n```go\nfunc NotFound(ctx *context.Context)\n```\nNotFound render 404 page\n\n```go\nfunc RenderRepoSearch(ctx *context.Context, opts *RepoSearchOptions)\n```\nRenderRepoSearch render repositories search page\n\n```go\nfunc RenderUserSearch(ctx *context.Context, opts *models.SearchUserOptions, tplName base.TplName)\n```\nRenderUserSearch render user search page\n\n```go\nfunc SwaggerV1Json(ctx *context.Context)\n```\nSwaggerV1Json render swagger v1 json\n\n## Types\n\n```go\ntype RepoSearchOptions struct {\n\tOwnerID  int64\n\tPrivate  bool\n\tPageSize int\n\tTplName  base.TplName\n}\n```\nRepoSearchOptions when calling search repositories\n\n","path":"github.com/RedAFD/code-core/routers","name":"routers","synopsis":"","isRedistributable":true}
