api

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2017 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Githubin added in v0.0.5

type Githubin struct{}

Githubin implements the gRPC client mimicing the future API behaviour

func (*Githubin) FindBinary added in v0.0.5

func (g *Githubin) FindBinary(ctx context.Context, search *binstack.BinarySearch, opts ...grpc.CallOption) (*binstack.Binary, error)

FindBinary finds a binary in the local rule list

type Rule

type Rule struct {
	Homepage     string
	Description  string
	UrlTemplate  string
	Format       binstack.DownloadInfo_Format
	PathTemplate string
}

Rule is a template based on which a version of a project can be downloaded and extracted

Jump to

Keyboard shortcuts

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