client

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package client contains the client implementations for several providers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	CreateRelease(ctx *context.Context, body string) (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 NewGitHub

func NewGitHub(ctx *context.Context) (Client, error)

NewGitHub returns a github client implementation

type Info

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