Documentation ¶
Index ¶
- type AwsCompletedPart
- type Config
- type DownloadHandler
- type FileSystemStorageServer
- type Service
- func (s *Service) CompleteMultipartUpload(o *bsw.Object, uploadID string, parts []bsw.CompletedPart) error
- func (s *Service) DecodeSignedURL(encodedStr string) (*bsw.Object, error)
- func (s *Service) Name() string
- func (s *Service) PreSignGetObjectURL(o *bsw.Object, timeout time.Duration) (string, error)
- func (s *Service) PreSignMultipartObjectURL(o *bsw.Object, timeout time.Duration) ([]string, string, error)
- func (s *Service) PreSignPutObjectURL(o *bsw.Object, timeout time.Duration) (string, error)
- type SignedURLDecoder
- type UploadHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsCompletedPart ¶
type AwsCompletedPart struct { // Entity tag returned when the part was uploaded. ETag string // Part number that identifies the part. This is a positive integer between // 1 and 10,000. PartNumber int64 }
func (*AwsCompletedPart) ETagPtr ¶
func (p *AwsCompletedPart) ETagPtr() *string
func (*AwsCompletedPart) PartNumberPtr ¶
func (p *AwsCompletedPart) PartNumberPtr() *int64
type DownloadHandler ¶
type DownloadHandler struct {
// contains filtered or unexported fields
}
func (*DownloadHandler) Input ¶
func (c *DownloadHandler) Input() interface{}
type FileSystemStorageServer ¶
type FileSystemStorageServer struct {
// contains filtered or unexported fields
}
func NewFileSystemStorage ¶
func NewFileSystemStorage(sud SignedURLDecoder, basePath string) *FileSystemStorageServer
func (*FileSystemStorageServer) Endpoints ¶
func (s *FileSystemStorageServer) Endpoints() []vatel.Endpoint
func (*FileSystemStorageServer) ReadObjectTo ¶
func (*FileSystemStorageServer) WriteObject ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewFileStorageWrapper ¶ added in v0.0.2
func (*Service) CompleteMultipartUpload ¶
func (s *Service) CompleteMultipartUpload(o *bsw.Object, uploadID string, parts []bsw.CompletedPart) error
CompleteMultipartUpload
func (*Service) DecodeSignedURL ¶
func (*Service) PreSignGetObjectURL ¶
func (*Service) PreSignMultipartObjectURL ¶
type SignedURLDecoder ¶
type UploadHandler ¶
type UploadHandler struct {
// contains filtered or unexported fields
}
func (*UploadHandler) Input ¶
func (c *UploadHandler) Input() interface{}
Click to show internal directories.
Click to hide internal directories.