file

package
v1.3.148 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 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(fileObject *entity.FileObject, namespace oss.Namespace) *file.File

func GetFileTypeCounterWithCDN

func GetFileTypeCounterWithCDN(fileObject *entity.FileObject, namespace oss.Namespace, cdn CDNInterface) *file.File

func GetFileTypeID

func GetFileTypeID(fileEntity *entity.FileEntity, namespace oss.Namespace) *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