Documentation ¶
Index ¶
- Constants
- type BintrayClient
- type Client
- func (client *Client) DeleteVersion(packageName, version string) error
- func (client *Client) DownloadPackage(packageName, version, destinationDir string) error
- func (client *Client) GetPackage(packageName string) (*Package, error)
- func (client *Client) InPackageURL(packageName, version string) string
- func (client *Client) UploadPackage(packageName, from, version string) error
- type ErrorResponse
- type Package
Constants ¶
View Source
const APIURL string = "https://api.bintray.com"
View Source
const DownloadURL string = "https://dl.bintray.com"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BintrayClient ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteVersion ¶
func (*Client) DownloadPackage ¶
func (*Client) InPackageURL ¶
func (*Client) UploadPackage ¶
type ErrorResponse ¶
type ErrorResponse struct {
Message string `json:"message"`
}
Click to show internal directories.
Click to hide internal directories.