file

package
v1.2.40 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileTypeCounter

func GetFileTypeCounter(fileOss *entity.FileObject, bucket oss.Bucket, private bool) *file.File

func GetFileTypeCounterWithCDN

func GetFileTypeCounterWithCDN(fileOss *entity.FileObject, bucket oss.Bucket, private bool, cdn CDNInterface) *file.File

func GetFileTypeID

func GetFileTypeID(fileEntity *entity.FileEntity, bucket oss.Bucket) *file.File

Types

type CDNInterface

type CDNInterface interface {
	GetImageURLWithTemplate(image string) string
}

Jump to

Keyboard shortcuts

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