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: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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