Directories ¶
Path | Synopsis |
---|---|
app
|
|
account/datastore
datastore package auth.go - datastore layer for authentification
|
datastore package auth.go - datastore layer for authentification |
account/handler
handler package auth.go - interaction/ handler layer for authentification
|
handler package auth.go - interaction/ handler layer for authentification |
account/service
service package auth.go - service/ business layer for authentification
|
service package auth.go - service/ business layer for authentification |
Package config - main configuration routine
|
Package config - main configuration routine |
package database db.go - contain database pool connection preparation and validation for the established pool connection
|
package database db.go - contain database pool connection preparation and validation for the established pool connection |
Middleware to prevent unauthorized access
|
Middleware to prevent unauthorized access |
pkg
|
|
auth
Authentication routine with jwt
|
Authentication routine with jwt |
errors
Package errors for authentication containing custom error for our app
|
Package errors for authentication containing custom error for our app |
helper
Package helper for handling response to client
|
Package helper for handling response to client |
logger
Logger module - It will create logfile for the server
|
Logger module - It will create logfile for the server |
Click to show internal directories.
Click to hide internal directories.