Rename "Cache" middleware to "NoCache"

This commit is contained in:
Benedikt Kulmann
2020-11-16 22:13:26 +01:00
parent 31401cdbae
commit aaf9029a3e
8 changed files with 9 additions and 9 deletions

View File

@@ -49,7 +49,7 @@ func NewService(opts ...Option) *http.Server {
Handler: alice.New(
middleware.RealIP,
middleware.RequestID,
middleware.Cache,
middleware.NoCache,
middleware.Cors,
middleware.Secure,
middleware.Version(