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 ¶
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.
Click to show internal directories.
Click to hide internal directories.