encoding

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BrType = iota
	GzipType
	DeflateType
	IdentityType
	UnknownType
)

Variables

This section is empty.

Functions

func ParseAcceptEncoding

func ParseAcceptEncoding(header []byte) int

func ParseContentEncoding

func ParseContentEncoding(header []byte) ([]int, error)

func ToString

func ToString(encoding int) string

Types

type UnsupportedContentEncodingError

type UnsupportedContentEncodingError string

func (UnsupportedContentEncodingError) Error

Jump to

Keyboard shortcuts

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