Move http package inside cmd (#5776)

This commit is contained in:
kannappanr 2018-04-05 14:19:27 -07:00 committed by GitHub
parent 9eb94fe8c8
commit 91fd8ffeb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 4 additions and 4 deletions

View File

@ -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 (

View File

@ -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.

View File

@ -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,

View File

@ -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{