diff options
Diffstat (limited to 'plugins/http/handler.go')
-rw-r--r-- | plugins/http/handler.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/http/handler.go b/plugins/http/handler.go index 2bda4f1d..5b612d7e 100644 --- a/plugins/http/handler.go +++ b/plugins/http/handler.go @@ -10,6 +10,8 @@ import ( "time" "github.com/pkg/errors" + "github.com/spiral/roadrunner/v2" + "github.com/spiral/roadrunner/v2/interfaces/log" ) const ( @@ -60,8 +62,8 @@ func (e *ResponseEvent) Elapsed() time.Duration { // parsed files and query, payload will include parsed form dataTree (if any). type Handler struct { cfg *Config - log *logrus.Logger - rr *roadrunner.Server + log log.Logger + rr roadrunner.Pool mul sync.Mutex lsn func(event int, ctx interface{}) } |