# Functions
Simple CORS implementation that wraps an http Handler For a more detailed implementation use https://github.com/martini-contrib/cors or implement CORS at your proxy layer Pass nil for allowedMethods and allowedHeaders to use the defaults.
Handle returns a Handler function that exposes the provided storage interfaces as RESTful resources at prefix, serialized by codec, and also includes the support http resources.
InstallLogsSupport registers the APIServer log support function into a mux.
InstallSupport registers the APIServer support functions into a mux.
MakeAsync takes a function and executes it, delivering the result in the way required by RESTStorage's Update, Delete, and Create methods.
NewAPIGroup returns an object that will serve a set of REST resources and their associated operations.
NewOperations returns a new Operations repository.
NewValidator creates a validator for a set of servers.
RecoverPanics wraps an http Handler to recover and log panics.
# Constants
No description provided by the author
# Structs
APIGroup is a http.Handler that exposes multiple RESTStorage objects It handles URLs of the form: /${storage_key}[/${object_name}] Where 'storage_key' points to a RESTStorage object stored in storage.
Operation represents an ongoing action which the server is performing.
No description provided by the author
Operations tracks all the ongoing operations.
ProxyHandler provides a http.Handler which will proxy traffic to locations specified by items implementing Redirector.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WatchServer serves a watch.Interface over a websocket or vanilla HTTP.
# Interfaces
Redirector know how to return a remote resource's location.
ResourceWatcher should be implemented by all RESTStorage objects that want to offer the ability to watch for changes through the watch api.
RESTStorage is a generic interface for RESTful storage services.
# Type aliases
WorkFunc is used to perform any time consuming work for an api call, after the input has been validated.