# Packages
No description provided by the author
# Functions
ReadJSONBody reads the bytes from the provided body, and marshals it to the provided model interface.
Setup creates the API struct and its endpoints with corresponding handlers.
WriteJSONBody marshals the provided interface into json, and writes it to the response body.
# Variables
ImagePublishedEvent returns an ImagePublished event for the provided path.
ImageUploadedEvent returns an ImageUploaded event for the provided image ID and upload path.
NewID returns a new UUID.
# Interfaces
AuthHandler interface for adding auth to endpoints.
MongoServer defines the required methods from MongoDB.