package
0.0.0-20250307155911-dd300caf4d79
Repository: https://github.com/sapcc/hermes.git
Documentation: pkg.go.dev
# Functions
NewV1Handler creates a http.Handler that serves the Hermes v1 API.
ReturnError produces an error response with HTTP status code 500 if the given error is non-nil.
ReturnJSON is a convenience function for HTTP handlers returning JSON data.
Server Set up and start the API server, hooking it up to the API router.
# Structs
EventList is the model for JSON returned by the ListEvents API call.
VersionData is used by version advertisement handlers.