Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Activity ¶
type Activity struct {
// contains filtered or unexported fields
}
Activity is a stub for your Activity implementation
type Input ¶
type Input struct {
Input interface{} `md:"criteria,required"` // The JSON Request Object that will serve as search parameter for the query
}
Input structure
type Output ¶
type Output struct {
Output interface{} `md:"response"` // The JSON Response for Querying one or more documents from a collection
}
Output structure
type Settings ¶
type Settings struct { Connection string `md:"connection,required"` // The MongoDB connection Operation string `md:"operation,required,allowed(Find One Document,Find Many Documents)"` // Operation to perform CollectionName string `md:"collectionName,required"` // The collection within the MongoDB database to query Database string `md:"databaseName,required"` // MongoDB databse to query Timeout int32 `md:"timeout"` // Timeout in seconds for the activity's operations }
Settings structure
Click to show internal directories.
Click to hide internal directories.