mirror of
https://github.com/minio/minio
synced 2026-08-29 14:36:37 -04:00
Golint cleanup from top level
This commit is contained in:
parent
540723d7ae
commit
c00d1461b9
8 changed files with 56 additions and 31 deletions
|
|
@ -34,10 +34,10 @@ type Config struct {
|
|||
type Server struct{}
|
||||
|
||||
// Start http server
|
||||
func Start(handler http.Handler, config HttpServerConfig) (chan<- string, <-chan error, *Server) {
|
||||
func Start(handler http.Handler, config Config) (chan<- string, <-chan error, *Server) {
|
||||
ctrlChannel := make(chan string)
|
||||
errorChannel := make(chan error)
|
||||
server := HttpServer{}
|
||||
server := Server{}
|
||||
go start(ctrlChannel, errorChannel, handler, config, &server)
|
||||
return ctrlChannel, errorChannel, &server
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue