logger

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2017 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package logger is a layer with methods for persistence and operations with data

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeletePerObjectId

func DeletePerObjectId(session *mgo.Collection, id bson.ObjectId) error

DeletePerObjectId provide the delete of objects per ObjectId on mongo client/production

func GetAll

func GetAll(session *mgo.Collection) ([]model.LoggerPostgreSQL, error)

GetAll provide the query of all data on database on mongo client/production

func Persist

func Persist(session *mgo.Collection, register model.LoggerPostgreSQL) error

Persist provide the insert on mongo client/production

Types

This section is empty.

Jump to

Keyboard shortcuts

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