Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3ObjectStorageHandler ¶
type S3ObjectStorageHandler struct { S3Client *s3.Client PresignClient *s3.PresignClient S3Endpoint string }
func InitS3ObjectStorageHandler ¶
func InitS3ObjectStorageHandler(bucket string) (*S3ObjectStorageHandler, error)
func (*S3ObjectStorageHandler) CreateDownloadLinks ¶ added in v0.2.4
func (handler *S3ObjectStorageHandler) CreateDownloadLinks(bucket string, key string, prefix string) (*UploadLinks, error)
func (*S3ObjectStorageHandler) CreateUploadLink ¶
func (handler *S3ObjectStorageHandler) CreateUploadLink(bucket string, key string) (string, error)
type UploadLinks ¶ added in v0.2.4
type UploadLinks struct { TSV string `bakta:"tsv"` GFF3 string `bakta:"gff3"` GBFF string `bakta:"gbff"` FNA string `bakta:"fna"` FAA string `bakta:"faa"` JSON string `bakta:"json"` EMBL string `bakta:"embl"` TSVHypothetical string `bakta:"hypotheticals.tsv"` FAAHypothetical string `bakta:"hypotheticals.faa"` }
Click to show internal directories.
Click to hide internal directories.