Documentation ¶
Index ¶
Constants ¶
View Source
const ( ImplementationAWS = "AmazonS3" ImplementationMinio = "MinIO" ImplementationGoogleCloudStorage = "UploadServer" ImplementationDigitalOceanSpaces = "DigitalOceanSpaces" ImplementationUnknown = "Unknown" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server is a abstraction of an S3 server/bucket
func (*Server) DetectImplementation ¶ added in v0.4.0
func (*Server) GetExpirationClass ¶ added in v0.3.0
func (s *Server) GetExpirationClass(cls string) *config.Expiration
GetExpirationClass gets the expiration class by name
func (*Server) GetObjectURL ¶
GetObjectURL returns the full URL to an object based on its key
Click to show internal directories.
Click to hide internal directories.