internal

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompressBody

func CompressBody(body []byte, encoding SupportedCompression) ([]byte, error)

func DecompressResponse

func DecompressResponse(res *http.Response) (err error)

func JoinUrl

func JoinUrl(elements ...string) string

Types

type SupportedCompression

type SupportedCompression string
const (
	Gzip    SupportedCompression = "gzip"
	Deflate SupportedCompression = "deflate"
	Brotli  SupportedCompression = "br"
)

Jump to

Keyboard shortcuts

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