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: ? modules, 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

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