db

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: AGPL-3.0 Imports: 10 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.2.0

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

func NewClient added in v0.2.0

func NewClient() Client

func (Client) Download added in v0.2.0

func (c Client) Download(ctx context.Context, cliVersion, cacheDir string, light, skip bool) error

type GitHubOperation added in v0.2.0

type GitHubOperation interface {
	DownloadDB(ctx context.Context, fileName string) (io.ReadCloser, error)
}

type Operation added in v0.2.0

type Operation interface {
	GetMetadata() (db.Metadata, error)
}

Jump to

Keyboard shortcuts

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