package
1.2.5
Repository: https://github.com/cloudtrust/common-service.git
Documentation: pkg.go.dev

# Functions

BasicDecodeRequest does not expect parameters.
DecodeRequest gets the HTTP parameters and body content.
DecodeRequestWithHeaders gets the HTTP parameters, headers and body content.
EncodeReply encodes the reply.
ErrorHandler encodes the reply when there is an error.
ErrorHandlerNoLog calls ErrorHandler without logger.
MakeAccessLogHandler creates an HTTP handler to log access logs.
MakeRightsHandler makes a HTTP handler that returns information about the rights of the user.
MakeVersionHandler makes a HTTP handler that returns information about the version of the component.

# Structs

GenericResponse for HTTP requests.
MimeContent defines a mime content for HTTP responses.