Move http package inside cmd (#5776)

master
kannappanr 7 years ago committed by GitHub
parent 9eb94fe8c8
commit 91fd8ffeb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cmd/gateway-main.go
  2. 2
      cmd/globals.go
  3. 0
      cmd/http/bufconn.go
  4. 0
      cmd/http/bufconn_test.go
  5. 0
      cmd/http/conn_bug_21133.go
  6. 0
      cmd/http/listener.go
  7. 0
      cmd/http/listener_test.go
  8. 0
      cmd/http/server.go
  9. 0
      cmd/http/server_test.go
  10. 2
      cmd/rpc-server.go
  11. 2
      cmd/server-main.go

@ -27,8 +27,8 @@ import (
"github.com/gorilla/mux"
"github.com/minio/cli"
miniohttp "github.com/minio/minio/cmd/http"
"github.com/minio/minio/pkg/errors"
miniohttp "github.com/minio/minio/pkg/http"
)
var (

@ -25,8 +25,8 @@ import (
humanize "github.com/dustin/go-humanize"
"github.com/fatih/color"
miniohttp "github.com/minio/minio/cmd/http"
"github.com/minio/minio/pkg/auth"
miniohttp "github.com/minio/minio/pkg/http"
)
// minio configuration related constants.

@ -21,7 +21,7 @@ import (
"net/http"
"net/rpc"
miniohttp "github.com/minio/minio/pkg/http"
miniohttp "github.com/minio/minio/cmd/http"
)
// ServeHTTP implements an http.Handler that answers RPC requests,

@ -25,8 +25,8 @@ import (
"github.com/minio/cli"
"github.com/minio/dsync"
miniohttp "github.com/minio/minio/cmd/http"
"github.com/minio/minio/pkg/errors"
miniohttp "github.com/minio/minio/pkg/http"
)
var serverFlags = []cli.Flag{

Loading…
Cancel
Save