1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-01-23 11:14:48 +02:00

Little cleanup

This commit is contained in:
DarthSim 2018-10-06 00:22:11 +06:00
parent 0966e41a2a
commit d333c7ca61

View File

@ -7,7 +7,6 @@ import (
"fmt" "fmt"
"log" "log"
"net/http" "net/http"
"sync"
"time" "time"
nanoid "github.com/matoous/go-nanoid" nanoid "github.com/matoous/go-nanoid"
@ -21,12 +20,6 @@ var (
imageTypeWEBP: "image/webp", imageTypeWEBP: "image/webp",
} }
responseBufPool = sync.Pool{
New: func() interface{} {
return new(bytes.Buffer)
},
}
authHeaderMust []byte authHeaderMust []byte
healthRequestURI = []byte("/health") healthRequestURI = []byte("/health")