altsvcutil

package
v3.33.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertURL

func ConvertURL(a *altsvc.AltSvc, u *url.URL) *url.URL

ConvertURL converts the raw request url to expected alt-svc's url.

func ParseHeader

func ParseHeader(value string) ([]*altsvc.AltSvc, error)

ParseHeader parses the AltSvc from header value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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