github

package
v0.0.0-...-af48650 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2015 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidRepositoryID is returned when the repository ID does not conform
	// to a 3-segment github username/repository path.
	ErrInvalidRepositoryID = errors.New("invalid repository id")
)

Functions

This section is empty.

Types

type Store

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

Store represents GitHub as a data store.

func NewStore

func NewStore(token string) *Store

NewStore returns a new instance of Store.

func (*Store) Repository

func (s *Store) Repository(id string) (*scuttlebutt.Repository, error)

Repository returns a repository by ID.

Jump to

Keyboard shortcuts

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