Documentation
¶
Index ¶
- Constants
- func BuildIconField(fileName, etag string) string
- func BuildIconFileName(appKey, ext string) string
- func CleanOldIconFiles(appKey string) error
- func GetETagFromIconField(icon string) string
- func GetIconFilePath(fileName string) string
- func IconFileExists(fileName string) bool
- func IsIconFile(icon string) bool
- func ParseIconField(icon string) (fileName, etag string)
- func ReadIconFile(fileName string) ([]byte, error)
- func WriteIconFile(appKey string, data []byte) (fileName string, err error)
Constants ¶
View Source
const ContentTypePNG = "image/png"
View Source
const IconPrefix = "app_"
Variables ¶
This section is empty.
Functions ¶
func BuildIconField ¶
func BuildIconFileName ¶
func CleanOldIconFiles ¶
func GetETagFromIconField ¶
func GetIconFilePath ¶
func IconFileExists ¶
func IsIconFile ¶
func ParseIconField ¶
func ReadIconFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.