package
0.0.0-20220518083256-2e7d28ad5f2e
Repository: https://github.com/diwise/ngsi-ld-golang.git
Documentation: pkg.go.dev

# Functions

NewBadRequestData creates and returns a new instance of a BadRequestData with the supplied problem detail.
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
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.
No description provided by the author

# Constants

ProblemReportContentType as required by https://tools.ietf.org/html/rfc7807.

# Structs

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 syntacticallyinvalid or includes wrong content.
ProblemDetailsImpl is an implementation of the ProblemDetails interface.
No description provided by the author

# Interfaces

ProblemDetails stores details about a certain problem according to RFC7807See https://tools.ietf.org/html/rfc7807.