Skip to content

Commit

Permalink
compress: add br with quality noop
Browse files Browse the repository at this point in the history
  • Loading branch information
acoshift committed Jun 10, 2023
1 parent da4a4d3 commit a2ff716
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkg/compress/br_noop.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@

package compress

import "net/http"
import (
"net/http"
)

// Br creates noop middleware
func Br() *Noop {
return new(Noop)
}

func BrWithQuality(quality int) *Noop {
return Br()
}

// Noop middleware
type Noop struct{}

Expand Down

0 comments on commit a2ff716

Please sign in to comment.