Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a reslient upload client.
type ClientOptions ¶
type ClientOptions struct { // NumConnections is the number of concurrent connections to use when uploading chunks. NumConnections int // ChunkSize is the size of each chunk. ChunkSize int64 // Timeout is the timeout to use when making requests (eg. dialing, TLS handshake, etc). Timeout time.Duration // MaxRetryAttempts is the maximum number of times to retry a failed request. MaxRetryAttempts int // TLSClientConfig is the optional TLS configuration to use when making requests. TLSClientConfig *tls.Config }
ClientOptions are options for configuring the behavior of the upload client.
Click to show internal directories.
Click to hide internal directories.