useragent

package
Version: v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2020 License: CC0-1.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenUserAgent

func GenUserAgent(prefix, infoURL string) string

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

func Transport

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

Transport wraps a http transport with user agent information.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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