package
0.3.0
Repository: https://github.com/ah8ad3/gateway.git
Documentation: pkg.go.dev

# Functions

OpenConnection function for open connection with mongodb once.
SetSysLog set the middleware logs here.
SetUserLog set the middleware logs here.

# Variables

Collection here that we manage Logs db.
Connect if db connected or not.
DB poiner to mongoDB and can access from any where.

# Structs

Log structure of the system base struct.
SystemLog that extend from base Log and for System failure and logs.
UserLog that extend Log and for the api logs.