Documentation
¶
Index ¶
Constants ¶
View Source
const BaseURL = "https://stellar-hub.vercel.app"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorInfo ¶
type AuthorInfo struct {
ID string `json:"id"`
Name string `json:"name"`
Image *string `json:"image"`
Bio *string `json:"bio"`
}
Author info nested in theme response
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) FetchThemeConfig ¶
func (*Client) GetThemeInfo ¶
func (*Client) IncrementDownloadCount ¶
type ThemeInfo ¶
type ThemeInfo struct {
ID string `json:"id"`
Author AuthorInfo `json:"author"`
Name string `json:"name"`
Slug string `json:"slug"`
Description string `json:"description"`
Downloads int `json:"downloads"`
ColorScheme *string `json:"colorScheme"`
Group string `json:"group"`
Versions []VersionInfo `json:"versions"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
}
Theme info from API
Click to show internal directories.
Click to hide internal directories.