Versions in this module Expand all Collapse all v0 v0.0.3 Feb 25, 2021 Changes in this version type Router + func (r *Router) SearchNodes() http.HandlerFunc v0.0.2 Nov 16, 2020 Changes in this version + type GitHubClient struct + func NewGitHubClient(token string) *GitHubClient + func (gc *GitHubClient) GetRepository(repoURL string) (Repository, error) + type GitHubClientI interface + GetRepository func(repoURL string) (Repository, error) + type Repository struct + Contributors map[string]*github.Contributor + Owner string + Repo string type VersionManifest + Documentation string + Repo string v0.0.1 Nov 11, 2020 Changes in this version + const V1APIPathPrefix + var MaxTokens int64 = 100 + func ModuleFromManifest(manifest Manifest, sanitizer Sanitizer) models.Module + type AuthorsManifest struct + Email string + Name string + type BugTackerManifest struct + Contact string + URL string + type Manifest struct + Authors []AuthorsManifest + BugTracker BugTackerManifest + Module ModuleManifest + Version VersionManifest + type ModuleInvite struct + ModuleID uint + User string + type ModuleManifest struct + Description string + Documentation string + Homepage string + Keywords []string + Name string + Repo string + Team string + type ModuleStars struct + Stars int64 + type Router struct + func NewRouter(logger zerolog.Logger, cfg config.Config, db *gorm.DB, ...) (*Router, error) + func (r *Router) AcceptOwnerInvite() http.HandlerFunc + func (r *Router) AuthorizeSession() http.Handler + func (r *Router) ConfirmEmail() http.HandlerFunc + func (r *Router) CreateUserToken() http.HandlerFunc + func (r *Router) GetAllKeywords() http.HandlerFunc + func (r *Router) GetAllModules() http.HandlerFunc + func (r *Router) GetAllUsers() http.HandlerFunc + func (r *Router) GetModuleAuthors() http.HandlerFunc + func (r *Router) GetModuleByID() http.HandlerFunc + func (r *Router) GetModuleKeywords() http.HandlerFunc + func (r *Router) GetModuleVersions() http.HandlerFunc + func (r *Router) GetUser() http.HandlerFunc + func (r *Router) GetUserByName() http.HandlerFunc + func (r *Router) GetUserModules() http.HandlerFunc + func (r *Router) GetUserTokens() http.HandlerFunc + func (r *Router) InviteOwner() http.HandlerFunc + func (r *Router) LogoutSession() http.HandlerFunc + func (r *Router) Register(rtr *mux.Router, prefix string) + func (r *Router) RevokeUserToken() http.HandlerFunc + func (r *Router) SearchModules() http.HandlerFunc + func (r *Router) StarModule() http.HandlerFunc + func (r *Router) StartSession() http.Handler + func (r *Router) UnStarModule() http.HandlerFunc + func (r *Router) UpdateUser() http.HandlerFunc + func (r *Router) UpsertModule() http.HandlerFunc + type Sanitizer interface + Sanitize func(string) string + type Token struct + Name string + type User struct + Email string + type VersionManifest struct + SDKCompat string + Version string