package
0.0.0-20241107115949-fa1015b6a813
Repository: https://github.com/lushenle/golang-daily.git
Documentation: pkg.go.dev

# Functions

NewClient creates a new HTTP client with default options.
UseInsecureTransport is a functional option to use an insecure HTTP transport.
WithoutRedirects is a functional option to disable following redirects.
WithTimeout is a functional option to set the HTTP client timeout.
WithUserAgent is a functional option to set the HTTP client user agent.

# Structs

Client represents our HTTP client.

# Type aliases

Option is a functional option type that allows us to configure the Client.