Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newHTTPServerFn (0.14 sec)

  1. cmd/api-router.go

    	"net"
    	"net/http"
    
    	consoleapi "github.com/minio/console/api"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/wildcard"
    	"github.com/rs/cors"
    )
    
    func newHTTPServerFn() *xhttp.Server {
    	globalObjLayerMutex.RLock()
    	defer globalObjLayerMutex.RUnlock()
    	return globalHTTPServer
    }
    
    func setHTTPServer(h *xhttp.Server) {
    	globalObjLayerMutex.Lock()
    	globalHTTPServer = h
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top