Documentation ¶
Overview ¶
Package xnet provides functions and utilities that extend Go's standard net module.
Index ¶
Constants ¶
View Source
const ( // DefaultDialerTimeout is the default maximum amount of time a dial will wait for // a connection to complete. DefaultDialerTimeout = 30 * time.Second // DefaultDialerKeepAlive is the default amount of time a connection will be // kept alive. DefaultDialerKeepAlive = 30 * time.Second )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package xhttp provides utility functions for HTTP requests.
|
Package xhttp provides utility functions for HTTP requests. |
xhttputil
Package xhttputil provides utility functions for HTTP requests and responses.
|
Package xhttputil provides utility functions for HTTP requests and responses. |
xmiddleware
Package xmiddleware contains simple middleware functions.
|
Package xmiddleware contains simple middleware functions. |
Package xurl provides helpers and utilities for working with URLs.
|
Package xurl provides helpers and utilities for working with URLs. |
Click to show internal directories.
Click to hide internal directories.