Merge pull request #87 from roman-khimov/lint

Linter fixes
This commit is contained in:
Angira Kekteeva 2021-06-16 23:01:29 +03:00 committed by GitHub
commit 0814bf3d01
3 changed files with 2 additions and 4 deletions

View file

@ -44,6 +44,7 @@ type (
prs int
)
// ErrNoAuthorizationHeader is returned for unauthenticated requests.
var ErrNoAuthorizationHeader = errors.New("no authorization header")
func (p prs) Read(_ []byte) (n int, err error) {

View file

@ -28,9 +28,6 @@ const (
defaultConnectTimeout = 30 * time.Second
defaultShutdownTimeout = 15 * time.Second
defaultKeepaliveTime = 10 * time.Second
defaultKeepaliveTimeout = 10 * time.Second
defaultMaxClientsCount = 100
defaultMaxClientsDeadline = time.Second * 30
)