clients

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.8.8

type Client interface {
	GetInfo(ctx *context.Context) (info Info, err error)
	CreateRelease(ctx *context.Context) (releaseID int, err error)
	CreateFile(ctx *context.Context, content bytes.Buffer, path string) (err error)
	Upload(ctx *context.Context, releaseID int, name string, file *os.File) (err error)
}

Client interface

func NewGitHubClient added in v0.8.8

func NewGitHubClient(ctx *context.Context) Client

NewGitHubClient impl

type Info added in v0.8.8

type Info struct {
	Description string
	Homepage    string
	URL         string
}

Info of the repository

Jump to

Keyboard shortcuts

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