Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DownloadCount ¶
func (c *Client) DownloadCount(packageName string, opts *DownloadCountOpts) (*DownloadCountResonse, error)
type DownloadCountOpts ¶
type DownloadCountOpts struct { LastDay bool LastWeek bool LastMonth bool StartDate time.Time EndDate time.Time }
func (*DownloadCountOpts) Period ¶
func (o *DownloadCountOpts) Period() string
type DownloadCountResonse ¶
type PackageBug ¶
type PackageBug struct {
URL string `json:"url"`
}
type PackageRepository ¶
type PackageResponse ¶
type PackageResponse struct { Name string `json:"name"` DistTags map[string]string `json:"dist-tags"` Versions map[string]*PackageVersion `json:"versions"` Time map[string]string `json:"time"` Repository *PackageRepository `json:"repository"` Homepage string `json:"homepage"` Bugs *PackageBug `json:"bugs"` License string `json:"license"` }
type PackageVersion ¶
type PackageVersionDist ¶
type Report ¶
type Report struct {
*prvdutils.StaticReport
}
Click to show internal directories.
Click to hide internal directories.