package
2.0.24+incompatible
Repository: https://github.com/yunify/qscamel.git
Documentation: pkg.go.dev

# Functions

CheckClosedDB will check whether the error is a db closed err.
CheckError will execute the func, handle it's panic and error.
CreateFile will create a file recursively.
Dir returns the home directory for the executing user.
Expand expands the path to include the home directory if the path is prefixed with `~`.
FromTaskContext will extract task name from context.
GetDirKvPair will iterates the whole `dir`, return a kv map the key is position in the directory, and the value is the md5 sum of the file content.
GetMarkers will generate markers for every list worker.
IsTimeoutError will check whether the err is a timeout error.
Join will join path together which will make sure not leading or trailing "/".
MD5sum returns MD5 checksum of filename.
NewConn will create a new conn.
NewDialer will create a new dialer.
NewTaskContext will create a ctx with task name.
Recover will recover a goroutine from panic.
Relative will calculate the relative path for full by prefix.

# Constants

Context keys.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

DefaultDialer is the default dialer for qscamel.
DisableCache will disable caching of the home directory.

# Structs

Conn is a generic stream-oriented network connection.
Dialer is wrapped dialer provided by qingstor go sdk.

# Type aliases

ContextKey is the type for context key.