httpclient

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 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