Versions in this module Expand all Collapse all v1 v1.0.1 Jun 9, 2021 v1.0.0 Jun 9, 2021 Changes in this version + const AcceptRanges + const Action + const AmzACL + const AmzAccessKeyID + const AmzAlgorithm + const AmzBucketRegion + const AmzBucketReplicationStatus + const AmzContentSha256 + const AmzCopySource + const AmzCopySourceIfMatch + const AmzCopySourceIfModifiedSince + const AmzCopySourceIfNoneMatch + const AmzCopySourceIfUnmodifiedSince + const AmzCopySourceRange + const AmzCopySourceVersionID + const AmzCredential + const AmzDate + const AmzDecodedContentLength + const AmzDeleteMarker + const AmzEncryptionAES + const AmzEncryptionKMS + const AmzExpiration + const AmzExpires + const AmzMetaUnencryptedContentLength + const AmzMetaUnencryptedContentMD5 + const AmzMetadataDirective + const AmzMpPartsCount + const AmzObjectLockBypassGovernance + const AmzObjectLockLegalHold + const AmzObjectLockMode + const AmzObjectLockRetainUntilDate + const AmzObjectTagging + const AmzRequestID + const AmzRestore + const AmzRestoreExpiryDays + const AmzRestoreOutputPath + const AmzRestoreRequestDate + const AmzSecurityToken + const AmzServerSideEncryption + const AmzServerSideEncryptionCopyCustomerAlgorithm + const AmzServerSideEncryptionCopyCustomerKey + const AmzServerSideEncryptionCopyCustomerKeyMD5 + const AmzServerSideEncryptionCustomerAlgorithm + const AmzServerSideEncryptionCustomerKey + const AmzServerSideEncryptionCustomerKeyMD5 + const AmzServerSideEncryptionKmsContext + const AmzServerSideEncryptionKmsID + const AmzSignature + const AmzSignatureV2 + const AmzSignedHeaders + const AmzSnowballExtract + const AmzStorageClass + const AmzTagCount + const AmzTagDirective + const AmzVersionID + const Authorization + const CacheControl + const Connection + const ContentDisposition + const ContentEncoding + const ContentLanguage + const ContentLength + const ContentMD5 + const ContentRange + const ContentType + const Date + const DefaultMaxHeaderBytes + const DefaultShutdownTimeout + const ETag + const Expires + const IfMatch + const IfModifiedSince + const IfNoneMatch + const IfUnmodifiedSince + const LastModified + const Location + const MinIODeleteMarkerReplicationStatus + const MinIODeleteReplicationStatus + const MinIOForceDelete + const MinIOHealingDrives + const MinIOReplicationResetStatus + const MinIOServerStatus + const MinIOSourceDeleteMarker + const MinIOSourceDeleteMarkerDelete + const MinIOSourceETag + const MinIOSourceMTime + const MinIOSourceProxyRequest + const MinIOSourceReplicationRequest + const MinIOTransition + const MinIOWriteQuorum + const MinioDeploymentID + const PartNumber + const Range + const RetryAfter + const ServerInfo + const UploadID + const VersionID + const XCache + const XCacheLookup + var NewInternodeDialContext = NewCustomDialContext — darwin/amd64, js/wasm, windows/amd64 + func DrainBody(respBody io.ReadCloser) + type DNSCache struct + func NewDNSCache(freq time.Duration, lookupTimeout time.Duration, ...) *DNSCache + func (r *DNSCache) Fetch(ctx context.Context, host string) ([]string, error) + func (r *DNSCache) LookupHost(ctx context.Context, host string) ([]string, error) + func (r *DNSCache) Refresh() + func (r *DNSCache) Stop() + type DialContext func(ctx context.Context, network, address string) (net.Conn, error) + func DialContextWithDNSCache(cache *DNSCache, baseDialCtx DialContext) DialContext + func NewCustomDialContext(dialTimeout time.Duration) DialContext + func NewInternodeDialContext(dialTimeout time.Duration) DialContext + type Server struct + Addrs []string + ShutdownTimeout time.Duration + func NewServer(addrs []string, handler http.Handler, getCert certs.GetCertificateFunc) *Server + func (srv *Server) GetRequestCount() int + func (srv *Server) Shutdown() error + func (srv *Server) Start() (err error)