reader

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: BSD-3-Clause Imports: 14 Imported by: 8

README

go-reader-github

GitHub and GitHub API support for the go-reader.Reader interface.

Documentation to follow. For now have a look at the tests.

See also

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGitHubAPIReader

func NewGitHubAPIReader(ctx context.Context, uri string) (wof_reader.Reader, error)

func NewGitHubReader

func NewGitHubReader(ctx context.Context, uri string) (wof_reader.Reader, error)

Types

type GitHubAPIReader

type GitHubAPIReader struct {
	wof_reader.Reader
	// contains filtered or unexported fields
}

func (*GitHubAPIReader) Read

func (r *GitHubAPIReader) Read(ctx context.Context, uri string) (io.ReadCloser, error)

func (*GitHubAPIReader) URI

func (r *GitHubAPIReader) URI(key string) string

type GitHubReader

type GitHubReader struct {
	wof_reader.Reader
	// contains filtered or unexported fields
}

func (*GitHubReader) Read

func (r *GitHubReader) Read(ctx context.Context, uri string) (io.ReadCloser, error)

func (*GitHubReader) URI

func (r *GitHubReader) URI(key string) string

Jump to

Keyboard shortcuts

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