Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manifest ¶
type Plugin ¶
type Plugin struct { Name string `json:"name"` // Description is a *short* description of the plugin. Description string `json:"description"` // FileExtensions supported by the plugin. FileExtensions []string `json:"file_extensions"` Website string `json:"website"` ContactEmail string `json:"contact_email"` License string `json:"license"` ReadmeURL string `json:"readme_url"` ManifestURL string `json:"manifest_url"` }
type Repository ¶
type Repository struct { Name string `json:"name"` Description string `json:"description"` Slug string `json:"slug"` Plugins []Plugin `json:"plugins"` }
func GetRepositories ¶
func GetRepositories(ctx context.Context) ([]Repository, error)
func GetRepository ¶
func GetRepository(ctx context.Context, url string) (Repository, error)
type RepositoryEntry ¶
type RepositoryEntry struct {
URL string `json:"url"`
}
Click to show internal directories.
Click to hide internal directories.