files

package
v2.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBadHTTPClient = errors.New("incorrect http client")

Functions

This section is empty.

Types

type File

type File interface {
	Open(context.Context) (io.ReadCloser, error)
	String() string
}

func NewHTTP

func NewHTTP(client *http.Client, endpoint string) (File, error)

func NewLocal

func NewLocal(path string) (File, error)

Jump to

Keyboard shortcuts

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