# Packages

No description provided by the author

# Functions

GetUpdatesFromJobPatches returns an updated job resource and updated bson.M resource based on updates from the patches.
GetValueType gets the type of a value and returns the type which is understandable for an API user.
ReadJSONBody reads the bytes from the provided body, and marshals it to the provided model interface.
Setup function sets up the api and returns an api.

# Structs

API provides a struct to wrap the api around.

# Interfaces

AuthHandler provides authorisation checks on requests.
DataStorer is an interface for a type that can store and retrieve jobs.
Indexer is a type that can create new ElasticSearch indexes.
Paginator defines the required methods from the paginator package.
ReindexRequestedProducer is a type that can produce reindex-requested events.