Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSocketRoundTripper ¶
func NewSocketRoundTripper(path string) http.RoundTripper
NewSocketRoundTripper creates a http.RoundTripper using a unix domain socket
func NewSocketTransport ¶
NewSocketTransport creates an http transport that listens to the "unix" protocol. I.e. requests must be of the form "unix://path".
Types ¶
type SocketRoundtripper ¶
type SocketRoundtripper struct {
// contains filtered or unexported fields
}
SocketRoundtripper defines an http.RoundTripper that uses a unix domain socket as an endpoint.
Click to show internal directories.
Click to hide internal directories.