Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIAuthMiddleware ¶
type APIAuthMiddleware struct {
// contains filtered or unexported fields
}
APIAuthMiddleware handles API key authentication
func NewAPIAuthMiddleware ¶
func NewAPIAuthMiddleware(enabled bool) *APIAuthMiddleware
NewAPIAuthMiddleware creates a new API auth middleware
func (*APIAuthMiddleware) Middleware ¶
func (m *APIAuthMiddleware) Middleware(next http.Handler) http.Handler
Middleware wraps an HTTP handler with API key authentication
type BucketHandler ¶
type BucketHandler struct {
// contains filtered or unexported fields
}
BucketHandler handles bucket operations
func NewBucketHandler ¶
func NewBucketHandler(sharedDir string) *BucketHandler
NewBucketHandler creates a new bucket handler
func (*BucketHandler) Handle ¶
func (h *BucketHandler) Handle(w http.ResponseWriter, r *http.Request)
Handle routes bucket requests based on method
type CreatePresignRequest ¶
type KeysHandler ¶
type KeysHandler struct{}
KeysHandler handles API key management
func (*KeysHandler) Handle ¶
func (h *KeysHandler) Handle(w http.ResponseWriter, r *http.Request)
Handle routes key management requests
type ObjectHandler ¶
type ObjectHandler struct {
// contains filtered or unexported fields
}
ObjectHandler handles object operations
func NewObjectHandler ¶
func NewObjectHandler(sharedDir string) *ObjectHandler
NewObjectHandler creates a new object handler
func (*ObjectHandler) Handle ¶
func (h *ObjectHandler) Handle(w http.ResponseWriter, r *http.Request)
Handle routes object requests based on method
type PresignHandler ¶
type PresignHandler struct {
// contains filtered or unexported fields
}
func NewPresignHandler ¶
func NewPresignHandler(sharedDir string) *PresignHandler
func (*PresignHandler) Handle ¶
func (h *PresignHandler) Handle(w http.ResponseWriter, r *http.Request)
type WebhookHandler ¶
type WebhookHandler struct{}
WebhookHandler manages webhook CRUD operations.
func NewWebhookHandler ¶
func NewWebhookHandler() *WebhookHandler
NewWebhookHandler creates a new webhook handler.
func (*WebhookHandler) Handle ¶
func (h *WebhookHandler) Handle(w http.ResponseWriter, r *http.Request)
Handle routes webhook requests based on path and method.