Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
app/server
Package server
|
Package server |
internal
|
|
app/account/datastore
datastore package auth.go - datastore layer for authentification
|
datastore package auth.go - datastore layer for authentification |
app/account/handler
handler package auth.go - interaction/ handler layer for authentification
|
handler package auth.go - interaction/ handler layer for authentification |
app/account/service
service package auth.go - service/ business layer for authentification
|
service package auth.go - service/ business layer for authentification |
config
Package config - main configuration routine
|
Package config - main configuration routine |
database
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
Middleware to prevent unauthorized access
|
Middleware to prevent unauthorized access |
pkg/auth
Authentication routine with jwt
|
Authentication routine with jwt |
pkg/errors
Package errors for authentication containing custom error for our app
|
Package errors for authentication containing custom error for our app |
pkg/helper
Package helper for handling response to client
|
Package helper for handling response to client |
pkg/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.