github.com/yandex/pandora@v0.5.32/components/providers/http/middleware/middleware.go (about)

     1  package middleware
     2  
     3  import (
     4  	"context"
     5  	"net/http"
     6  
     7  	"go.uber.org/zap"
     8  )
     9  
    10  type Middleware interface {
    11  	InitMiddleware(ctx context.Context, log *zap.Logger) error
    12  	UpdateRequest(req *http.Request) error
    13  }