package
1.64.0-Personal
Repository: https://github.com/dceldran/rclone.git
Documentation: pkg.go.dev

# Functions

NewClient returns an http.Client with the correct timeouts.
NewDialer creates a Dialer structure with Timeout, Keepalive, LocalAddr and DSCP set from rclone flags.
NewMetrics creates a new metrics instance, the instance shall be assigned to DefaultMetrics before any processing takes place.
NewTransport returns an http.RoundTripper with the correct timeouts.
NewTransportCustom returns an http.RoundTripper with the correct timeouts.
ResetTransport resets the existing transport, allowing it to take new settings.

# Variables

DefaultMetrics specifies metrics used for new Transports.

# Structs

Dialer structure contains default dialer and timeout, tclass support.
Metrics provide Transport HTTP level metrics.
Transport is our http Transport which wraps an http.Transport * Sets the User Agent * Does logging * Updates metrics.