Documentation ¶
Overview ¶
Package models implements the data structures used in Shelves, and other packages uses the structures defined in this package, such as loggers or Databases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // MongoDB LogMongoDRV = log15.New(log15.Ctx{"Module": "Database/MongoDB/Driver"}) // MongoDB Driver Logger LogMongoTX = log15.New(log15.Ctx{"Module": "Database/MongoDB/TX"}) // MongoDB Transactions Logger (TX) )
Database Loggers
View Source
var ( LogAuthFileConnect = log15.New(log15.Ctx{"Module": "Auth/File/Connect"}) LogAuthCryptGen = log15.New(log15.Ctx{"Module": "Auth/Crypt/Gen"}) LogAuthCryptCompare = log15.New(log15.Ctx{"Module": "Auth/Crypt/Compare"}) )
Auth package Loggers
View Source
var (
LogDGUICore = log15.New(log15.Ctx{"Module": "DesktopGUI/Core"})
)
DesktopGUI Loggers
Functions ¶
func ReturnAuthLoggers ¶
ReturnAuthLoggers returns three loggers, all of which are of 'log15.Logger' type for the auth package for Shelves.
func ReturnDBLoggers ¶
ReturnDBLoggers returns two loggers, both of which are of 'log15.Logger' type for the MongoDB module.
func ReturnDGUILoggers ¶
ReturnDGUILoggers returns one logger, which is of 'log15.Logger' type for the DesktopGUI module.
Types ¶
type ErrorHandlerResponse ¶
type IndexHandlerResponse ¶
Click to show internal directories.
Click to hide internal directories.