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

package useragent

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


Package Files


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 6 packages. Updated 2020-05-02. Refresh now. Tools for package owners.