x: within.website/x/web/useragent Index | Files

package useragent

import "within.website/x/web/useragent"

Index

Package Files

user_agent.go

func GenUserAgent Uses

func GenUserAgent(prefix, infoURL string) string

GenUserAgent creates a unique User-Agent string for outgoing HTTP requests.

func Transport Uses

func Transport(prefix, infoURL string, rt http.RoundTripper) http.RoundTripper

Transport wraps a http transport with user agent information.

Package useragent imports 4 packages (graph) and is imported by 3 packages. Updated 2019-11-28. Refresh now. Tools for package owners.