package
0.0.0-20250204070817-3c82b7ad6a9f
Repository: https://github.com/0chain/gosdk_common.git
Documentation: pkg.go.dev

# Constants

No description provided by the author
ContextKeyAllocation represents key for context value for allocation.
ContextKeyClientID represents key for context value for allocation id.
ContextKeyAllocationObject represents key for context value for allocation object.
ContextKeyClient represents key for context value for client.
ContextKeyClientKey represents key for context value for client key.
ContextKeyClientSignatureHeaderKey represents key for context value passed with common.ClientSignatureHeader request header.
ContextKeyClientSignatureHeaderV2Key represents key for context value passed with common.ClientSignatureHeaderV2 request header.
No description provided by the author
FileOperationCopy method name of copy file.
FileOperationCreateDir method name of create directory.
FileOperationDelete method name of delete file.
FileOperationInsert method name of add new file.
FileOperationMove method name of move file.
FileOperationRename method name of rename file.
FileOperationUpdate method name of update file.

# Variables

ErrBadRequest bad request.
ErrFileOptionNotPermitted requested operation is not allowed on this allocation (file_options).
ErrInvalidHashnode invalid hashnode.
ErrInvalidParameter parameter is not specified or invalid.
ErrNotFound ref not found.
ErrNotImplemented feature/method is not implemented yet.
ErrNotLockedWritMarker failed to lock WriteMarker.
ErrNotUnlockedWritMarker failed to unlock WriteMarker.
ErrUnableHash failed to hash with unknown exception.
ErrUnableWriteFile failed to write bytes to file.

# Type aliases

ContextKey type for key used to store values into context.
No description provided by the author