Documentation ¶
Index ¶
- type Handler
- func (h *Handler) DownloadByAddressOrBucketName(c *fasthttp.RequestCtx)
- func (h *Handler) DownloadByAttribute(c *fasthttp.RequestCtx)
- func (h *Handler) DownloadZipped(c *fasthttp.RequestCtx)
- func (h *Handler) HeadByAddressOrBucketName(c *fasthttp.RequestCtx)
- func (h *Handler) HeadByAttribute(c *fasthttp.RequestCtx)
- func (h *Handler) Upload(req *fasthttp.RequestCtx)
- type MultipartFile
- type Settings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) DownloadByAddressOrBucketName ¶
func (h *Handler) DownloadByAddressOrBucketName(c *fasthttp.RequestCtx)
DownloadByAddressOrBucketName handles download requests using simple cid/oid or bucketname/key format.
func (*Handler) DownloadByAttribute ¶
func (h *Handler) DownloadByAttribute(c *fasthttp.RequestCtx)
DownloadByAttribute handles attribute-based download requests.
func (*Handler) DownloadZipped ¶
func (h *Handler) DownloadZipped(c *fasthttp.RequestCtx)
DownloadZipped handles zip by prefix requests.
func (*Handler) HeadByAddressOrBucketName ¶
func (h *Handler) HeadByAddressOrBucketName(c *fasthttp.RequestCtx)
HeadByAddressOrBucketName handles head requests using simple cid/oid or bucketname/key format.
func (*Handler) HeadByAttribute ¶
func (h *Handler) HeadByAttribute(c *fasthttp.RequestCtx)
HeadByAttribute handles attribute-based head requests.
func (*Handler) Upload ¶
func (h *Handler) Upload(req *fasthttp.RequestCtx)
Upload handles multipart upload request.
type MultipartFile ¶
type MultipartFile interface { io.ReadCloser FileName() string }
MultipartFile provides standard ReadCloser interface and also allows one to get file name, it's used for multipart uploads.
type Settings ¶
type Settings struct {
// contains filtered or unexported fields
}
Settings stores reloading parameters, so it has to provide atomic getters and setters.
func (*Settings) DefaultTimestamp ¶
func (*Settings) SetDefaultTimestamp ¶
func (*Settings) SetZipCompression ¶
func (*Settings) ZipCompression ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.