refactor: refactoring of code

Add graceful shutdown server
This commit is contained in:
Jonas Kaninda
2024-11-15 14:24:35 +01:00
parent 5665ee3dab
commit f1af5c3ce6
26 changed files with 267 additions and 181 deletions

View File

@@ -17,9 +17,9 @@
package pkg
// Middleware defined the route middleware
// Middleware defined the route middlewares
type Middleware struct {
//Path contains the name of middleware and must be unique
//Path contains the name of middlewares and must be unique
Name string `yaml:"name"`
// Type contains authentication types
//