refactor: refactoring of code
Add graceful shutdown server
This commit is contained in:
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user