Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middlewares ¶
type Middlewares interface { JwtAuth(next http.Handler) http.Handler CheckAdmin(next http.Handler) http.Handler FileAuth(next http.Handler) http.Handler FileOwner(next http.Handler) http.Handler }
func NewMiddlwares ¶
func NewMiddlwares(r *redis.Client, repository repository.Repository, ctx context.Context) Middlewares
Click to show internal directories.
Click to hide internal directories.