package
1.2.10
Repository: https://github.com/open-dam/open-dam-api.git
Documentation: pkg.go.dev

# Functions

EncodeErrorResponse writes the error response for any error that occurred during the request.
EncodeJSONResponse uses the json encoder to write an interface to the http response with an optional status code.
No description provided by the author
NewApiService creates an api service.
NewController creates an api controller.
NewRouter creates a new router for any number of api routers.

# Structs

No description provided by the author
ApiService is a service that implents the logic for the ApiServicer This service should implement the business logic for every endpoint for the API.
No description provided by the author
AssetUpdate - A limited view of an asset with only editable fields.
A Controller binds http requests to an api service and writes the service results to the http response.
No description provided by the author
No description provided by the author

# Interfaces

ApiServicer defines the api actions for the API.