handler

package
v0.0.0-...-f66ea8c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UUIDKey  = "uuid"
	CodeKey  = "code"
	ErrorKey = "error"
)
View Source
const (
	QueryBucketKey = "bucket"
	QueryPathKey   = "path"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(svr *server.Server, logger log.Logger) *Handler

func (*Handler) DeleteObjectHandler

func (h *Handler) DeleteObjectHandler(c *gin.Context)

func (*Handler) GetObjectHandler

func (h *Handler) GetObjectHandler(c *gin.Context)

func (*Handler) HeadObjectHandler

func (h *Handler) HeadObjectHandler(c *gin.Context)

func (*Handler) ListObjectsHandler

func (h *Handler) ListObjectsHandler(c *gin.Context)

func (*Handler) PutObjectHandler

func (h *Handler) PutObjectHandler(c *gin.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL