PTGUstorage

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 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