services

package
v0.0.0-...-e7ebf20 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2014 License: BSD-2-Clause-Views Imports: 4 Imported by: 0

Documentation

Overview

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
}

Services contains common properties

func (*Service) DBAction

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

Execute the MongoDB literal function

func (*Service) Finish

func (service *Service) Finish() (err error)

func (*Service) Prepare

func (service *Service) Prepare() (err error)

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