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