Documentation
¶
Overview ¶
Package mini is a tiny, dependency-free HTTP client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client issues HTTP requests with a default timeout and shared headers.
type Option ¶
type Option func(*Client)
Option configures a Client.
func WithHeader ¶
WithHeader sets a default header on every request.
func WithTimeout ¶
WithTimeout sets the per-request timeout.