services

package
v0.0.0-...-2f59249 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2013 License: BSD-2-Clause-Views Imports: 3 Imported by: 0

Documentation

Overview

Services provides boilerplate functionality for all services. Any state required by all the services is maintained here.

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
}

Services contains common fields and behavior for all services

func (*Service) DBAction

func (this *Service) DBAction(collectionName string, mongoCall mongo.MongoCall) (err error)

DBAction executes queries and commands against MongoDB

Directories

Path Synopsis
Buoy implements the service for the buoy functionality
Buoy implements the service for the buoy functionality

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL