package
0.0.0-20240912125110-2ae284e9374c
Repository: https://github.com/diwise/context-broker.git
Documentation: pkg.go.dev
# Functions
NewAlreadyExists creates and returns a new instance of an AlreadyExists with the supplied problem detail.
No description provided by the author
NewBadRequestData creates and returns a new instance of a BadRequestData with the supplied problem detail.
No description provided by the author
No description provided by the author
NewInternalError creates and returns a new instance of an InternalError with the supplied problem detail.
NewInvalidRequest creates and returns a new instance of an InvalidRequest with the supplied problem detail.
No description provided by the author
NewNotFound creates and returns a new instance of a NotFound with the supplied problem detail.
No description provided by the author
No description provided by the author
NewUnknownTenant creates and returns a new instance of an UnknownTenant with the supplied problem detail.
No description provided by the author
ReportNewAlreadyExistsError creates an AlreadyExists instance and sends it to the supplied http.ResponseWriter.
ReportNewBadRequestData creates a BadRequestData instance and sends it to the supplied http.ResponseWriter.
ReportNewInternalError creates an InternalError instance and sends it to the supplied http.ResponseWriter.
ReportNewInvalidRequest creates an InvalidRequest instance and sends it to the supplied http.ResponseWriter.
ReportNotFoundError creates a NotFound instance and sends it to the supplied http.ResponseWriter.
No description provided by the author
ReportUnknownTenantError creates an UnknownTenant instance and sends it to the supplied http.ResponseWriter.
# Constants
ProblemReportContentType as required by https://tools.ietf.org/html/rfc7807.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
AlreadyExists reports that the request tries to create an already existing entity.
BadRequestData reports that the request includes input data which does not meet the requirements of the operation.
InternalError reports that there has been an error during the operation execution.
InvalidRequest reports that the request associated to the operation is syntactically invalid or includes wrong content.
NotFound reports that the request failed with a not found error of some kind.
ProblemDetailsImpl is an implementation of the ProblemDetails interface.
No description provided by the author
UnknownTenant reports that the request tries to interact with an unknown tenant.
# Interfaces
ProblemDetails stores details about a certain problem according to RFC7807 See https://tools.ietf.org/html/rfc7807.