util

package
v0.0.0-...-7a0f12f Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const UserAgent = `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36`

Variables

This section is empty.

Functions

func ConvertSignatureCDN

func ConvertSignatureCDN(cdnURL string) string

ConvertSignatureCDN converts the temporary CDN URL to long period URL.

func IsGIFImage

func IsGIFImage(cdnURL string) bool

IsGIFImage checks whether the given CDN image file is a GIF image.

func MakeSignature

func MakeSignature(input, userAgent string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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