ghca

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2017 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const PageUnlimited uint = 0

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	// contains filtered or unexported fields
}

func NewCLI

func NewCLI(t, q, d, e string) (*CLI, error)

func (*CLI) Run

func (c *CLI) Run() (err error)

type Cloner

type Cloner struct {
	Err chan error

	SSH bool
	// contains filtered or unexported fields
}

func NewCloner

func NewCloner(dest string, extract *regexp.Regexp) *Cloner

func (*Cloner) Clone

func (cl *Cloner) Clone(repo string)

func (*Cloner) Shutdown

func (cl *Cloner) Shutdown()

func (*Cloner) Start

func (cl *Cloner) Start()

type Collector

type Collector struct {
	Query   string
	Dest    string
	Extract *regexp.Regexp
	// contains filtered or unexported fields
}

func NewCollector

func NewCollector(query, token, dest string, extract *regexp.Regexp, page *PageConfig) *Collector

func (*Collector) Collect

func (col *Collector) Collect() (int, int, error)

type PageConfig

type PageConfig struct {
	Per   uint
	Max   uint
	Start uint
}

Jump to

Keyboard shortcuts

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