package
1.0.0-beta.186
Repository: https://github.com/openmeterio/openmeter.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
NewStatusProblem will generate a problem for the provided HTTP status code.
Respond will render the problem as JSON to the provided ResponseWriter.
No description provided by the author
# Constants
Note: keep values up to date in the meter package.
Note: keep values up to date in the meter package.
Note: keep values up to date in the meter package.
Note: keep values up to date in the meter package.
Note: keep values up to date in the meter package.
Note: keep values up to date in the meter package.
ProblemContentType is the default content type for a Problem response.
ProblemTypeDefault is the default problem type.
Note: keep values up to date in the meter package.
Note: keep values up to date in the meter package.
Note: keep values up to date in the meter package.
# Structs
No description provided by the author
TODO: this should be picked up in a general server error handler.
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
MeterQueryRow returns a single row from the meter dataset.
No description provided by the author
No description provided by the author
No description provided by the author
StatusProblem is the RFC 7807 response body without additional fields.
# Interfaces
Problem is the RFC 7807 response body.
# Type aliases
[ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) alpha-2 country code.
No description provided by the author
ProblemType contains a URI that identifies the problem type.
No description provided by the author
No description provided by the author