install

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download

func Download(localPath, remoteURL string) (*os.File, error)

func URL

func URL(filename string) string

func Upload

func Upload(ui UserInfo, ver, buildPath string) error

func Validate

func Validate(f, cs io.Reader) error

Types

type Bintray

type Bintray struct {
	Host string
	// contains filtered or unexported fields
}

func NewBintray

func NewBintray(user, apikey string) *Bintray

func (*Bintray) Upload

func (b *Bintray) Upload(r io.Reader, version, filePath string) error

type UserInfo

type UserInfo struct {
	User, Apikey string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL