Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Activity ¶
type Activity struct {
// contains filtered or unexported fields
}
type Input ¶
type Input struct { KeyName string `md:"keyName"` // The name of the key to use when looking up an object (used in GET, UPDATE and DELETE) KeyValue string `md:"keyValue"` // The value of the key to use when looking up an object (used in GET, UPDATE, and DELETE) Data interface{} `md:"data"` // The bson document to insert in mongodb }
type Settings ¶
type Settings struct { URI string `md:"uri,required"` // The MongoDB connection URI Method string `md:"method,required,allowed(GET,INSERT,UPDATE,DELETE)"` // The method type DbName string `md:"dbName,required"` // The name of the database Collection string `md:"collection, required"` // The collection to work on Username string `md:"username"` // The username of the client Password string `md:"password"` // The password of the client }
Click to show internal directories.
Click to hide internal directories.