Remove unused middlewares and fix linter errors

This commit is contained in:
Daniel 2021-01-28 16:50:23 +01:00
parent 7dd62276af
commit afdb367ada
7 changed files with 5 additions and 73 deletions

View file

@ -17,7 +17,7 @@ var (
exportEndpoints bool
)
// API Errors
// API Errors.
var (
ErrAuthenticationAlreadySet = errors.New("the authentication function has already been set")
ErrAuthenticationImmutable = errors.New("the authentication function can only be set before the api has started")