ghub

package
v0.0.0-...-1a7c62c Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigName = ".github-cli"

ConfigName is the configuration file name.

View Source
var ConfigType = "yaml"

ConfigType is the configuration file type.

Functions

This section is empty.

Types

type Gclient

type Gclient struct {
	// Name of the client.
	Name string
	// Github username.
	User string
	// contains filtered or unexported fields
}

Gclient is ghub client struct.

func (*Gclient) CheckConnection

func (c *Gclient) CheckConnection(ctx context.Context, gitOauth string) error

CheckConnection checks the connection to github with an OAuth token.

func (*Gclient) GetClient

func (c *Gclient) GetClient(ctx context.Context) (*github.Client, error)

GetClient returns ghub client.

Jump to

Keyboard shortcuts

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