mirror of
				https://github.com/minio/minio.git
				synced 2025-10-31 08:11:19 +01:00 
			
		
		
		
	S3 is now natively supported by B2 cloud storage provider there is no reason to use specialized gateway for B2 anymore, our current S3 gateway with caching would work with B2. Resolves #8584
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
| /*
 | |
|  * MinIO Cloud Storage, (C) 2017-2020 MinIO, Inc.
 | |
|  *
 | |
|  * Licensed under the Apache License, Version 2.0 (the "License");
 | |
|  * you may not use this file except in compliance with the License.
 | |
|  * You may obtain a copy of the License at
 | |
|  *
 | |
|  *     http://www.apache.org/licenses/LICENSE-2.0
 | |
|  *
 | |
|  * Unless required by applicable law or agreed to in writing, software
 | |
|  * distributed under the License is distributed on an "AS IS" BASIS,
 | |
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | |
|  * See the License for the specific language governing permissions and
 | |
|  * limitations under the License.
 | |
|  */
 | |
| 
 | |
| package gateway
 | |
| 
 | |
| import (
 | |
| 	// Import all gateways please keep the order
 | |
| 
 | |
| 	// NAS
 | |
| 	_ "github.com/minio/minio/cmd/gateway/nas"
 | |
| 
 | |
| 	// Azure
 | |
| 	_ "github.com/minio/minio/cmd/gateway/azure"
 | |
| 
 | |
| 	// S3
 | |
| 	_ "github.com/minio/minio/cmd/gateway/s3"
 | |
| 
 | |
| 	// HDFS
 | |
| 	_ "github.com/minio/minio/cmd/gateway/hdfs"
 | |
| 
 | |
| 	// GCS (use only if you must, GCS already supports S3 API)
 | |
| 	_ "github.com/minio/minio/cmd/gateway/gcs"
 | |
| 	// gateway functionality is frozen, no new gateways are being implemented
 | |
| 	// or considered for upstream inclusion at this point in time. if needed
 | |
| 	// please keep a fork of the project.
 | |
| )
 |