external

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigLoader

func ConfigLoader(arg string) (out io.Reader, err error)

func FetchHTTPContent

func FetchHTTPContent(target string) ([]byte, error)

FetchHTTPContent issues an HTTP GET against either a regular HTTP(S) URL or a Unix socket HTTP endpoint.

http(s)://host/api          regular HTTP(S)
/path/to/socket.sock[:/api] filesystem socket
@abstract[:/api]            abstract socket (Linux/Android)
@@padded[:/api]             padded abstract socket (HAProxy compat)

When the ":/" separator is omitted on a socket target, the request is made to "/".

Types

This section is empty.

Jump to

Keyboard shortcuts

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