# Packages
No description provided by the author
# Functions
New returns an API filled with the provided check state updater and the agent stats service.
# Variables
ErrCheckIDMandatory is returned when the API is asked to update the state of the check but no checkID is provided.
ErrStatusMandatory is returned when the API is asked to update the state of the check but no status is provided.
# Structs
API defines the methods of the API that the agent exposes to the outside.
CheckState holds the values related to the state of a check.
Stats defines the general information that the API provides about the agent.
# Interfaces
AgentStats defined the methods needed by the API to gather the information about agent stats that it exposed to the outside world.
CheckStateUpdater defines the method needed by the API in order to send check updates messages to the corresponding queue.