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