mirror of
https://github.com/hanzoai/s3.git
synced 2026-11-03 03:07:41 +00:00
- Change s3ReservedBucket constant from "minio" to "s3" so health endpoints register at /s3/health/* instead of /minio/health/* - Update Prometheus metrics namespace from "minio" to "s3" - Update API response DisplayName from "minio" to "s3" - Update release binary name and download URL references - Multi-stage Dockerfile.hanzo with distroless base for CI builds - Update publish workflow with build-args for version injection - Update .gitignore for new binary naming convention - 780+ files touched by automated rebrand script
28 lines
920 B
Go
28 lines
920 B
Go
// Copyright (c) 2015-2025 Hanzo AI, Inc.
|
|
//
|
|
// This file is part of Hanzo S3 Object Storage stack
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU Affero General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU Affero General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU Affero General Public License
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
package http
|
|
|
|
import "net/http"
|
|
|
|
// Flush the ResponseWriter.
|
|
func Flush(w http.ResponseWriter) {
|
|
if f, ok := w.(http.Flusher); ok {
|
|
f.Flush()
|
|
}
|
|
}
|