package
0.44.2
Repository: https://github.com/grafana/agent.git
Documentation: pkg.go.dev

# Functions

WriteError writes an error response back to the ResponseWriter.
WriteResponse writes a response object to the provided ResponseWriter w and with a status code of statusCode.

# Structs

APIResponse is the base object returned for any API call.
ErrorResponse is contained inside an APIResponse and returns an error string.
GetConfigurationResponse is contained inside an APIResponse and provides a single configuration known to the KV store.
ListConfigurationsResponse is contained inside an APIResponse and provides the list of configurations known to the KV store.