package
3.13.2+incompatible
Repository: https://github.com/datamanager-go/datamanagerserver.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AttributeHandler handler for file attributes.
FileHandler handler for updating files.
ListFilesHandler handler for listing files.
LogError returns true on error.
Login login handler.
NamespaceActionHandler handler for namespace actions (create/update/delete).
NamespaceListHandler lists namespaces.
NewAuthHandler returns a new AuthHandler.
NewRequestError create a new requestErorr.
NewRouter create new router and its required components.
Ping handles ping request.
Register register handler.
RouteHandler logs stuff.
Stats for a user.
UploadfileHandler handler for uploading files.
UserAttributeHandler handler for getting user attribute informations.

# Constants

HTTP methods.
HTTP methods.
HTTP methods.
HTTP methods.
WrongInputFormatError wrong user input.

# Variables

AllowedSchemes schemes that are allowed in urls.
ErrMissingFile error if file is missing.
ErrorTokenInvalid error if token is invalid.
RErrAlreadyExists request error if something requested already exists.
RErrBadRequest if a request was bad.
RErrInvalid if something is invalid.
RErrMissing if something required is missing.
RErrNotAllowed if a request is not allowed for a given user.
RErrNotFound request error if something was requested but wasn't found.
RErrNotSupported if an action is not supported.
RErrPermissionDenied if a user has no permission to run a certain command.
RErrMissing if registration is not accepted.
RErrTimeout timeout error.
RErrTokenInvalid if a token is not valid.

# Structs

AuthHandler handler for http auth.
RequestError error appearing in a request.
Route for REST.

# Type aliases

HTTPMethod http method.
RouteFunction function for handling a route.
Routes all REST routes.