# Functions
ModelType can be used to instantiate any struct.
ValidateVerbs does a custom validation function on the verbs: If the resource is of list type ListResource then allow all the verbs.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Auth is a table reference used for authentication purposes (API Keys).
Connection stands for the connection attempt, which might specify arguments (see: Args field) or might specify a direct URL (perhaps not mongodb://).
ConnectionFields stands for the arguments needed to make a connection.
Global stands for settings for ALL the resources.
Index is the description of a MongoDB index.
ItemMethod stands for a method entry which involves a handler and also telling whether it is a view or an operator.
Resource stands for the rules regarding a particular resource (in the end, a collection).
ResourceMethod stands for a method entry which involves a handler and also telling whether it is a view or an operator.
Settings stands for the main entry point of our DSL.
TableRef stands for the db and name of a given table (e.g.
# Type aliases
ItemMethodHandler is a method that handles a specific collection and some filtering data, now related to an item in particular.
MethodType is the method operation type (implies the method to use).
ModelTypeFunction is a function that returns the model to use.
ResourceMethodHandler is a method that handles a specific collection and some filtering data, related to the whole collection.
Resources belong to a mapping.
ResourceType is an enumeration to tell whether it is a list resource (standard) or one with just one record.
ResourceVerb is an enumeration to tell the allowed verbs into these resources: list, create, read, replace, update, delete.