Documentation
¶
Overview ¶
Package http defines public outbound HTTP capabilities without runtime or concrete transport dependencies. Clients are borrowed from injected providers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client executes explicit HTTP requests. Request contexts control cancellation. The caller closes each response body; the provider owner manages connections.
type Options ¶
type Options struct {
URL string `json:"url"`
Method string `json:"method"`
Header map[string]string `json:"header,omitempty"`
client.Limits
}
Options describes an explicit HTTP destination and its defaults. Dynamic credentials belong on the request, not in deployment constants.
Click to show internal directories.
Click to hide internal directories.