Documentation ¶
Overview ¶
Package handler /*
## License This project is licensed under the APACHE Licence. Refer to https://github.com/mstgnz/go-minio-cdn/blob/main/LICENSE for more information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsHandler ¶
type AwsHandler interface { GlacierVaultList(c *fiber.Ctx) error BucketList(c *fiber.Ctx) error BucketExists(c *fiber.Ctx) error }
func NewAwsHandler ¶
func NewAwsHandler(awsService service.AwsService) AwsHandler
type Image ¶
type Image interface { GetImage(c *fiber.Ctx) error UploadImage(c *fiber.Ctx) error UploadImageWithAws(c *fiber.Ctx) error DeleteImage(c *fiber.Ctx) error DeleteImageWithAws(c *fiber.Ctx) error ResizeImage(c *fiber.Ctx) error UploadImageWithUrl(c *fiber.Ctx) error }
func NewImage ¶
func NewImage(minioService *minio.Client, awsService service.AwsService) Image
type MinioHandler ¶ added in v1.2.1
type MinioHandler interface { BucketList(c *fiber.Ctx) error BucketExists(c *fiber.Ctx) error CreateBucket(c *fiber.Ctx) error RemoveBucket(c *fiber.Ctx) error }
func NewMinioHandler ¶ added in v1.2.1
func NewMinioHandler(minioClient *minio.Client) MinioHandler
Click to show internal directories.
Click to hide internal directories.