PTGUstorage

package
v1.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStorageMinio

func NewStorageMinio(inputClient *minio.Client) *storageMinioReceiverArgument

Types

type ParamUploadImageFromURL

type ParamUploadImageFromURL struct {
	StorageBucket           string
	StorageObjectName       string
	StoragePutObjectOptions minio.PutObjectOptions
	ImageURL                string
	ResizeConfig            *ParamUploadImageFromURLresizeConfig
}

type ParamUploadImageFromURLresizeConfig

type ParamUploadImageFromURLresizeConfig struct {
	Width  uint
	Height uint
}

type StorageMinioMethod

type StorageMinioMethod interface {
	UploadImageFromURL(param ParamUploadImageFromURL) (uploadInfo minio.UploadInfo, err error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL