Versions in this module Expand all Collapse all v0 v0.2.0 Apr 4, 2026 Changes in this version + func TemplateFuncMap() template.FuncMap + type AdminHandler struct + func NewAdminHandler(userRepo *repository.UserRepo) *AdminHandler + func (h *AdminHandler) BanUser(c *gin.Context) + func (h *AdminHandler) CreateUser(c *gin.Context) + func (h *AdminHandler) ListUsers(c *gin.Context) + func (h *AdminHandler) SetRole(c *gin.Context) + type AuthHandler struct + func NewAuthHandler(authSvc *auth.Service, userRepo *repository.UserRepo) *AuthHandler + func (h *AuthHandler) CreateToken(c *gin.Context) + func (h *AuthHandler) WhoAmI(c *gin.Context) + type DownloadHandler struct + func NewDownloadHandler(svc *service.SkillService) *DownloadHandler + func (h *DownloadHandler) Download(c *gin.Context) + func (h *DownloadHandler) Resolve(c *gin.Context) + type SearchHandler struct + func NewSearchHandler(sc *search.Client) *SearchHandler + func (h *SearchHandler) Search(c *gin.Context) + type SkillHandler struct + func NewSkillHandler(svc *service.SkillService) *SkillHandler + func (h *SkillHandler) Delete(c *gin.Context) + func (h *SkillHandler) Get(c *gin.Context) + func (h *SkillHandler) GetFile(c *gin.Context) + func (h *SkillHandler) List(c *gin.Context) + func (h *SkillHandler) Publish(c *gin.Context) + func (h *SkillHandler) Undelete(c *gin.Context) + func (h *SkillHandler) Version(c *gin.Context) + func (h *SkillHandler) Versions(c *gin.Context) + type StarHandler struct + func NewStarHandler(svc *service.SkillService) *StarHandler + func (h *StarHandler) Star(c *gin.Context) + func (h *StarHandler) Unstar(c *gin.Context) + type WebAuthHandler struct + func NewWebAuthHandler(authSvc *auth.Service) *WebAuthHandler + func (h *WebAuthHandler) LoginSubmit(c *gin.Context) + func (h *WebAuthHandler) Logout(c *gin.Context) + type WebHandler struct + func NewWebHandler(svc WebSkillService, searchCli WebSearchService, authSvc *auth.Service, ...) *WebHandler + func NewWebHandlerWithTemplate(svc WebSkillService, searchCli WebSearchService, ...) *WebHandler + func (h *WebHandler) Index(c *gin.Context) + func (h *WebHandler) LoginPage(c *gin.Context) + func (h *WebHandler) LoginSubmit(c *gin.Context) + func (h *WebHandler) Logout(c *gin.Context) + func (h *WebHandler) Publish(c *gin.Context) + func (h *WebHandler) Search(c *gin.Context) + func (h *WebHandler) SkillDetail(c *gin.Context) + func (h *WebHandler) Skills(c *gin.Context) + type WebSearchService interface + Search func(ctx context.Context, query string, limit, offset int, sort []string, ...) (*search.SearchResult, error) + type WebSkillService interface + GetFile func(ctx context.Context, slug, version, path string) ([]byte, error) + GetSkill func(ctx context.Context, slug string) (*model.SkillWithOwner, error) + GetVersions func(ctx context.Context, slug string) ([]model.SkillVersion, error) + ListSkills func(ctx context.Context, limit int, cursor, sort string) ([]model.SkillWithOwner, string, error) + type WebhookHandler struct + func NewWebhookHandler(importSvc *gitstore.ImportService) *WebhookHandler + func (h *WebhookHandler) GitHubWebhook(c *gin.Context) + func (h *WebhookHandler) GitLabWebhook(c *gin.Context) + func (h *WebhookHandler) GiteaWebhook(c *gin.Context) + type WellKnownHandler struct + func NewWellKnownHandler(cfg *config.Config) *WellKnownHandler + func (h *WellKnownHandler) ClawHubJSON(c *gin.Context)