httpclient

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Getter

type Getter interface {
	Get(url string) (io.ReadCloser, error)
}

type GetterFunc

type GetterFunc func(url string) (io.ReadCloser, error)

func New

func New() GetterFunc

func Unix

func Unix(sockPath string) GetterFunc

func (GetterFunc) Get

func (fn GetterFunc) Get(url string) (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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