Documentation
¶
Overview ¶
Package constants provides constants.the convention of naming is to use MixedCaps or mixedCaps rather than underscores to write multiword names. https://golang.org/doc/effective_go#mixed-caps
Index ¶
Constants ¶
View Source
const ( // FileOperationInsert method name of add new file FileOperationInsert = "insert" FileOperationDelete = "delete" FileOperationUpdate = "update" FileOperationRename = "rename" FileOperationCopy = "copy" FileOperationUpdateAttrs = "update_attrs" FileOperationCreateDir = "createdir" )
Variables ¶
View Source
var ( // ErrInvalidParameter parameter is not specified or invalid ErrInvalidParameter = errors.New("invalid parameter") // ErrUnableHash failed to hash with unknown exception ErrUnableHash = errors.New("unable to hash") // ErrUnableWriteFile failed to write bytes to file ErrUnableWriteFile = errors.New("unable to write file") // ErrNotImplemented feature/method is not implemented yet ErrNotImplemented = errors.New("Not Implemented") )
Functions ¶
This section is empty.
Types ¶
type ContextKey ¶
type ContextKey string
ContextKey - type for key used to store values into context
const ( // ContextKeyAllocation ContextKeyAllocation ContextKey = "allocation" // ContextKeyAllocationObject ContextKeyAllocationObject ContextKey = "allocation_object" // ContextKeyClient ContextKeyClient ContextKey = "client" // ContextKeyClientKey ContextKeyClientKey ContextKey = "client_key" // ContextKeyClientSignatureHeaderKey represents key for context value passed with common.ClientSignatureHeader request header. ContextKeyClientSignatureHeaderKey ContextKey = "signature" )
Click to show internal directories.
Click to hide internal directories.