Virtual host style S3 requests (#5095)

This commit is contained in:
Krishna Srinivas authored and Dee Koder committed 2017-11-14 16:56:24 -08:00
1 parent d57d57ddf5
commit e7a724de0d
18 files changed
+409 -159

No files matched your search

+18
View File
@@ -472,3 +472,21 @@ type serverConfigV18 struct {
// Notification queue configuration.
Notify *notifier `json:"notify"`
}
// serverConfigV19 server configuration version '19' which is like
// version '18' except it adds support for MQTT notifications.
type serverConfigV19 struct {
sync.RWMutex
Version string `json:"version"`
// S3 API configuration.
Credential auth.Credentials `json:"credential"`
Region string `json:"region"`
Browser BrowserFlag `json:"browser"`
// Additional error logging configuration.
Logger *loggers `json:"logger"`
// Notification queue configuration.
Notify *notifier `json:"notify"`
}