Documentation ¶
Index ¶
- type CacheUsecase
- type ImageUsecase
- func (iu ImageUsecase) ConvertImage(imageoption actor.ImageOperatorOption, reader multipart.File) (convertedimagebyte []byte, err error)
- func (iu ImageUsecase) GetFile(storageKeyValue string) (contenttype string, filebyte []byte, err error)
- func (iu ImageUsecase) GetFileInfo(storageKeyValue string) (objectInfo entity.StorageObjectInfo, err error)
- func (iu ImageUsecase) GetFileStream(storageKeyValue string) (contenttype string, contentLength int, filebyte io.ReadCloser, err error)
- func (iu ImageUsecase) GetImage(imageoption actor.ImageOperatorOption, storageKeyValue string) (contenttype string, imagebyte []byte, err error)
- func (iu ImageUsecase) UploadToStorage(FormKeyPath string, reader multipart.File, imagebyte []byte) error
- type TokenUsecase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheUsecase ¶
func (CacheUsecase) GetCache ¶
func (cu CacheUsecase) GetCache(requesturi string) (bool, repository.CachedContentRepository, error)
type ImageUsecase ¶
func (ImageUsecase) ConvertImage ¶
func (iu ImageUsecase) ConvertImage(imageoption actor.ImageOperatorOption, reader multipart.File) (convertedimagebyte []byte, err error)
func (ImageUsecase) GetFile ¶
func (iu ImageUsecase) GetFile(storageKeyValue string) (contenttype string, filebyte []byte, err error)
func (ImageUsecase) GetFileInfo ¶
func (iu ImageUsecase) GetFileInfo(storageKeyValue string) (objectInfo entity.StorageObjectInfo, err error)
func (ImageUsecase) GetFileStream ¶
func (iu ImageUsecase) GetFileStream(storageKeyValue string) (contenttype string, contentLength int, filebyte io.ReadCloser, err error)
func (ImageUsecase) GetImage ¶
func (iu ImageUsecase) GetImage(imageoption actor.ImageOperatorOption, storageKeyValue string) (contenttype string, imagebyte []byte, err error)
func (ImageUsecase) UploadToStorage ¶
type TokenUsecase ¶
type TokenUsecase struct { }
func (TokenUsecase) CreateToken ¶
func (tu TokenUsecase) CreateToken(ctx context.Context, claimname string) string
Click to show internal directories.
Click to hide internal directories.