Documentation
¶
Overview ¶
Package types defines common types
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asset ¶
type Asset struct {
URL string `json:"url"`
ID int `json:"id"`
NodeID string `json:"node_id"`
Name string `json:"name"`
Label any `json:"label"`
Uploader struct {
Login string `json:"login"`
ID int `json:"id"`
NodeID string `json:"node_id"`
AvatarURL string `json:"avatar_url"`
GravatarID string `json:"gravatar_id"`
URL string `json:"url"`
HTMLURL string `json:"html_url"`
FollowersURL string `json:"followers_url"`
FollowingURL string `json:"following_url"`
GistsURL string `json:"gists_url"`
StarredURL string `json:"starred_url"`
SubscriptionsURL string `json:"subscriptions_url"`
OrganizationsURL string `json:"organizations_url"`
ReposURL string `json:"repos_url"`
EventsURL string `json:"events_url"`
ReceivedEventsURL string `json:"received_events_url"`
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"uploader"`
ContentType string `json:"content_type"`
State string `json:"state"`
Size int `json:"size"`
DownloadCount int `json:"download_count"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
BrowserDownloadURL string `json:"browser_download_url"`
}
type GithubError ¶ added in v0.4.5
type GithubRelease ¶
type GithubTags ¶ added in v0.2.7
type GithubTags []GithubTag
func (GithubTags) GetLatest ¶ added in v0.2.7
func (ght GithubTags) GetLatest() *GithubTag
type Tool ¶
type Tool struct {
Name string `yaml:"name,omitempty"`
Github string `yaml:"github,omitempty"`
Google string `yaml:"google,omitempty"`
DownloadURL string `yaml:"downloadURL,omitempty"`
Version string `yaml:"version,omitempty"`
Additional []string `yaml:"additional,omitempty"`
Check string `yaml:"check,omitempty"`
SkipUpx bool `yaml:"skipUpx,omitempty"`
CouldNotBeFound bool `yaml:"-"`
Invalid bool `yaml:"-"`
}
type ToolVersion ¶ added in v0.0.2
type Toolbox ¶
type Toolbox struct {
Tools map[string]*Tool `yaml:"tools,omitempty"`
Target string `yaml:"target,omitempty"`
Upx bool `yaml:"upx,omitempty"`
CreateTarget *bool `yaml:"createTarget,omitempty"`
Aliases *map[string][]string `yaml:"aliases,omitempty"`
ExcludedSuffixes []string `yaml:"excludedSuffixes,omitempty"`
}
func (*Toolbox) HasGithubTools ¶ added in v0.4.5
Click to show internal directories.
Click to hide internal directories.