mirror of
https://github.com/minio/minio.git
synced 2025-11-07 04:42:56 -05:00
Update comments across the codebase
This commit is contained in:
@@ -32,6 +32,7 @@ type HttpServerConfig struct {
|
||||
|
||||
type HttpServer struct{}
|
||||
|
||||
// Start http server
|
||||
func Start(handler http.Handler, config HttpServerConfig) (chan<- string, <-chan error, *HttpServer) {
|
||||
ctrlChannel := make(chan string)
|
||||
errorChannel := make(chan error)
|
||||
|
||||
@@ -143,6 +143,7 @@ func getStorageChannels(storageType StorageType) (ctrlChans []chan<- string, sta
|
||||
return
|
||||
}
|
||||
|
||||
// Create channels
|
||||
func Start(configs []ServerConfig) {
|
||||
// reflected looping is necessary to remove dead channels from loop and not flood switch
|
||||
ctrlChans, statusChans := getHttpChannels(configs)
|
||||
|
||||
Reference in New Issue
Block a user