diff options
Diffstat (limited to 'service/http')
-rw-r--r-- | service/http/config.go | 4 | ||||
-rw-r--r-- | service/http/service.go | 8 | ||||
-rw-r--r-- | service/http/ssl_test.go | 10 |
3 files changed, 11 insertions, 11 deletions
diff --git a/service/http/config.go b/service/http/config.go index 54380d11..14738d2e 100644 --- a/service/http/config.go +++ b/service/http/config.go @@ -2,11 +2,11 @@ package http import ( "errors" + "fmt" "github.com/spiral/roadrunner" "github.com/spiral/roadrunner/service" - "strings" "os" - "fmt" + "strings" ) // Config configures RoadRunner HTTP server. diff --git a/service/http/service.go b/service/http/service.go index bea71d25..1f999b8b 100644 --- a/service/http/service.go +++ b/service/http/service.go @@ -2,17 +2,17 @@ package http import ( "context" + "fmt" "github.com/spiral/roadrunner" "github.com/spiral/roadrunner/service/env" "github.com/spiral/roadrunner/service/http/attributes" "github.com/spiral/roadrunner/service/rpc" + "golang.org/x/net/http2" "net/http" + "net/url" + "strings" "sync" "sync/atomic" - "golang.org/x/net/http2" - "strings" - "fmt" - "net/url" ) const ( diff --git a/service/http/ssl_test.go b/service/http/ssl_test.go index 5fcd19ce..63eb90b1 100644 --- a/service/http/ssl_test.go +++ b/service/http/ssl_test.go @@ -1,15 +1,15 @@ package http import ( - "testing" - "github.com/sirupsen/logrus/hooks/test" + "crypto/tls" "github.com/sirupsen/logrus" + "github.com/sirupsen/logrus/hooks/test" "github.com/spiral/roadrunner/service" "github.com/stretchr/testify/assert" - "time" - "net/http" "io/ioutil" - "crypto/tls" + "net/http" + "testing" + "time" ) var sslClient = &http.Client{ |