Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CacheTTL set time to live of cached responses. CacheTTL = time.Minute * 5 )
View Source
var (
DefaultClient = &Client{}
)
View Source
var (
ErrNotModified = errors.New("not modified")
)
Functions ¶
This section is empty.
Types ¶
type Asset ¶
type Asset struct { Name string State string Size uint64 CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DownloadURL string `json:"browser_download_url"` }
Asset represents a downloadable object in release.
type Client ¶
type Client struct { DisableCache bool Username string Token string Logger Logger // contains filtered or unexported fields }
Client packs access context/infomation to github.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.