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 ¶ added in v0.0.2
type Option func(o *Options)
Option defines a single option function.
func DisableKeepAlive ¶ added in v0.0.2
DisableKeepAlive provides a function to set the disablee keep alive option.
type Options ¶ added in v0.0.2
type Options struct { Context context.Context Timeout time.Duration Insecure bool DisableKeepAlive bool }
Options defines the available options for this package.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server contains the server info.
func (*Server) GracefulStop ¶
GracefulStop gracefully stops the server.
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.