http

package
v0.0.0-...-e07cd09 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(plugin puller.Config) (puller.Puller, error)

Types

type AuthBasic

type AuthBasic struct {
	Username string
	Password string
}

type HTTP

type HTTP struct {
	Address string
	Dir     string
	Auth    struct {
		Type   string
		Config interface{}
	}
}

func (HTTP) Pull

func (http HTTP) Pull(ctx context.Context) error

Jump to

Keyboard shortcuts

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