httputil

package
v3.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Pixel1x1PNG = Pixel{
	Content:     pixelContent,
	ContentType: "image/png",
}

Functions

func FindIP

FindIP returns the first ip address found in the http request matching the predicate v.

Types

type ContentEncoding

type ContentEncoding string
const (
	ContentEncodingGZIP ContentEncoding = "gzip"
)

func (ContentEncoding) Normalize

func (k ContentEncoding) Normalize() ContentEncoding

type Pixel

type Pixel struct {
	Content     []byte
	ContentType string
}

Jump to

Keyboard shortcuts

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