Documentation ¶
Overview ¶
Package services implements boilerplate code for all services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { MongoSession *mgo.Session UserID string }
Service contains common properties for all services.
func (*Service) DBAction ¶
func (service *Service) DBAction(databaseName string, collectionName string, dbCall mongo.DBCall) (err error)
DBAction executes the MongoDB literal function
Directories ¶
Path | Synopsis |
---|---|
Package buoyService implements the service for the buoy functionality.
|
Package buoyService implements the service for the buoy functionality. |
Click to show internal directories.
Click to hide internal directories.