basic

package
v0.0.0-...-512fbc8 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2018 License: Apache-2.0 Imports: 8 Imported by: 1 module, 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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Username string
	Password string
	Host     string
}

func (*Account) ID

func (a *Account) ID() string

func (*Account) String

func (a *Account) String() string

type Provider

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

func (*Provider) CanResolve

func (p *Provider) CanResolve(*url.URL) api.Resolvability

func (*Provider) CanRetrieve

func (p *Provider) CanRetrieve(api.File) uint

func (*Provider) Configure

func (p *Provider) Configure(c *api.Config)

func (*Provider) Name

func (p *Provider) Name() string

func (*Provider) NewAccount

func (p *Provider) NewAccount(pr api.Prompter) (api.Account, error)

func (*Provider) NewTemplate

func (p *Provider) NewTemplate() api.Account

func (*Provider) ResolveOne

func (p *Provider) ResolveOne(r api.Request) ([]api.Request, error)

func (*Provider) Retrieve

func (p *Provider) Retrieve(f api.File) (*http.Request, error)

Jump to

Keyboard shortcuts

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