Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlledRedirectClient ¶ added in v0.0.6
type HttpClient ¶
HttpClient indicates the core function in http.Client, allowing features to be nested easily.
type WithFinalNewline ¶ added in v0.1.0
WithFinalNewline adds a final newline to a written stream of bytes. This is intended for textual content sent via HTTP, for which the trailing newline is an often-forgotten Posix requirement. Wrap an existing Writer, then call EnsureFinalNewline after all the content has been written through.
func (*WithFinalNewline) EnsureFinalNewline ¶ added in v0.1.0
func (d *WithFinalNewline) EnsureFinalNewline() error
Click to show internal directories.
Click to hide internal directories.