Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHTTPClient ¶
GetHTTPClient returns an http client with open census tracing support. TODO(labkode): harden it. https://medium.com/@nate510/don-t-use-go-s-default-http-client-4804cb19f779
Types ¶
type Option ¶
type Option func(o *Options)
Option defines a single option function.
func DisableKeepAlive ¶
DisableKeepAlive provides a function to set the disablee keep alive option.
type Options ¶
type Options struct { Context context.Context Timeout time.Duration Insecure bool DisableKeepAlive bool }
Options defines the available options for this package.
Directories ¶
Path | Synopsis |
---|---|
Package datatx provides a library to abstract the complexity of using various data transfer protocols.
|
Package datatx provides a library to abstract the complexity of using various data transfer protocols. |
utils/download
Package download provides a library to handle file download requests.
|
Package download provides a library to handle file download requests. |
Click to show internal directories.
Click to hide internal directories.