Documentation ¶
Index ¶
Constants ¶
View Source
const ( S3LocalstackEndpoint = "http://localhost:4572" MaxAllowedFileSize = int64(500 << (10 * 2)) S3DownloadPartSize = 64 << (10 * 2) MaxObjectSizePerRequest = 1000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S ¶
type S struct {
Env string
}
S stores aws session specific details.
func (*S) GetBuckets ¶
GetBuckets returns bucket list belongs to the current session.
type SReq ¶
type SReq struct { Bucket string `form:"bucket" binding:"required"` Text string `form:"filter" binding:"required"` ResultCount int `form:"result-count" binding:"required"` Region string `form:"region" binding:"required"` StartDate int64 `form:"start"` EndDate int64 `form:"end"` }
SReq stores request informations and being used for paramteter binding.
Click to show internal directories.
Click to hide internal directories.