Documentation
¶
Index ¶
- Variables
- func CreateTempMetaData()
- func DownloadFile(szFilePath string, szUploadPath string, szTargetURL string) error
- func HeadFile(szTargetURL, szURLTail string) (bool, error)
- func PostFile(szFilePath string, szUploadPath string, szTargetURL string, szSha1 string, ...) (string, error)
- func SetHTTPClientTimeout(nTimeout int64)
- func SetMaxIdleConnsPerHost(nMaxIdleConnsPerHost int)
- func SetPlatform(szPlatform string)
- func SetVersion(szVersion string)
- type OnAuthRoundTripper
Constants ¶
This section is empty.
Variables ¶
View Source
var (
GStorageOnAuthRoundTripper = OnAuthRoundTripper{MaxIdleConnsPerHost: gnMaxIdleConnsPerHost}
)
GStorageOnAuthRoundTripper do smth
Functions ¶
func DownloadFile ¶
DownloadFile do smth
func PostFile ¶
func PostFile(szFilePath string, szUploadPath string, szTargetURL string, szSha1 string, szTempDir string) (string, error)
PostFile do smth
func SetMaxIdleConnsPerHost ¶
func SetMaxIdleConnsPerHost(nMaxIdleConnsPerHost int)
SetMaxIdleConnsPerHost do smth
Types ¶
type OnAuthRoundTripper ¶
type OnAuthRoundTripper struct { MaxIdleConnsPerHost int StorageUser, StoragePassword, StorageToken string // contains filtered or unexported fields }
OnAuthRoundTripper do smth
func (*OnAuthRoundTripper) Client ¶
func (pOnAuthRoundTripper *OnAuthRoundTripper) Client() *http.Client
Client do smth
Click to show internal directories.
Click to hide internal directories.