consts

package
v2.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (

	//APIHost ***
	APIHost string = "https://api.bimface.com"

	//FileHost ***
	FileHost string = "https://file.bimface.com"

	//StreamMime ***
	StreamMime string = "application/octet-stream"

	//JSONMime ***
	JSONMime string = "application/json"

	//FormMime ***
	FormMime string = "application/x-www-form-urlencoded"

	//BlockSize ***
	BlockSize int = 4194304

	//PutThreshold ***
	PutThreshold int = 4194304

	//DefaultMaxIdleConnections ***
	DefaultMaxIdleConnections int = 32

	//DefaultKeepAliveDurationNs ***
	DefaultKeepAliveDurationNs int = 300000

	//DefaultMaxRequests ***
	DefaultMaxRequests int = 64

	//DefaultMaxRequestsPerHost ***
	DefaultMaxRequestsPerHost int = 5

	//DefaultConnectTimeout ***
	DefaultConnectTimeout time.Duration = 20 * time.Second

	//DefaultWriteTimeout ***
	DefaultWriteTimeout int = 0

	//DefaultResponseTimeout ***
	DefaultResponseTimeout int = 30
)
View Source
const (
	//Authorization ***
	Authorization string = "Authorization"

	//CacheControl ***
	CacheControl string = "Cache-Control"

	//ContentDisposition ***
	ContentDisposition string = "Content-Disposition"

	//ContentEncoding ***
	ContentEncoding string = "Content-Encoding"

	//ContentLength ***
	ContentLength string = "Content-Length"

	//ContentMD5 ***
	ContentMD5 string = "Content-MD5"

	//ContentType ***
	ContentType string = "Content-Type"

	//TransferEncoding ***
	TransferEncoding string = "Transfer-Encoding"

	//Date ***
	Date string = "Date"

	//ETag ***
	ETag string = "ETag"

	//Expires ***
	Expires string = "Expires"

	//Host ***
	Host string = "Host"

	//LastModified ***
	LastModified string = "Last-Modified"

	//Range ***
	Range string = "Range"

	//Location ***
	Location string = "Location"

	//Connection ***
	Connection string = "Connection"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Status

type Status string

Status Status

const (
	//SUCCESS for CallbackStatus and TransferStatus
	SUCCESS Status = "success"

	//FAILED for CallbackStatus and TransferStatus
	FAILED Status = "failed"

	//PREPARE for TransferStatus
	PREPARE Status = "prepare"

	//PROCESSING for TransferStatus
	PROCESSING Status = "processing"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL