Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware interface { AuthMiddleware(next http.Handler) http.Handler RoleMiddleware(roles ...models.Role) func(http.Handler) http.Handler }
func New ¶
func New(repositories *repositories.Repositories) Middleware
Click to show internal directories.
Click to hide internal directories.