Documentation ¶
Index ¶
- Constants
- func Dcm4cheDateTimeDecode(dateStr, timeStr string) (t1 time.Time, err error)
- func DecodeCachePathImage(str string) (cache global.CachePathImage)
- func DecodeCachePathVideo(str string) (cache global.CachePathVideo)
- func DownloadImage(u, targetType string) (bs []byte, err error)
- func EncodeCachePathImage(cache global.CachePathImage) string
- func EncodeCachePathVideo(cache global.CachePathVideo) string
- func FfProbe(input string) (data string, err error)
- func GenerateVideoFromFrames(root, instanceId, fnVideo string) error
- func GenerateVideoFromImage(imagePath, videoPath string) error
- func IdStrCheckId(idStr, id string) bool
- func IdStrDecodeInt(str string) []int
- func IdStrDecodeString(str string) []string
- func IdStrEncodeInt(data []int) string
- func IdStrEncodeString(strs []string) string
- func IdStrInsertIdInt(joinStr string, id int) (result string, err error)
- func IdStrInsertIdStr(joinStr, id string) (result string, cnt int, err error)
- func IdStrRemoveIdStr(idstr, id string) (idstrNew string, cnt int, err error)
- func ImageGenerateThumbnail(fpath string, im image.Image, thumbSize int) error
- func MediaGetDuration(fullpath string) (d float64, err error)
- func SaveToFile(fn string, data []byte) error
- func TimeDecode(t int64) time.Time
- func TimeEncode(t time.Time) int64
- func TimeEncodeNow() int64
- func TimeEncodeString(ts string) int64
Constants ¶
View Source
const SPLIT_CHAR = "|"
Variables ¶
This section is empty.
Functions ¶
func Dcm4cheDateTimeDecode ¶
func DecodeCachePathImage ¶
func DecodeCachePathImage(str string) (cache global.CachePathImage)
func DecodeCachePathVideo ¶
func DecodeCachePathVideo(str string) (cache global.CachePathVideo)
func DownloadImage ¶
func EncodeCachePathImage ¶
func EncodeCachePathImage(cache global.CachePathImage) string
func EncodeCachePathVideo ¶
func EncodeCachePathVideo(cache global.CachePathVideo) string
func GenerateVideoFromFrames ¶
func GenerateVideoFromImage ¶
func IdStrCheckId ¶
func IdStrDecodeInt ¶
func IdStrDecodeString ¶
func IdStrEncodeInt ¶
func IdStrEncodeString ¶
func IdStrInsertIdStr ¶
func IdStrRemoveIdStr ¶
func ImageGenerateThumbnail ¶
func MediaGetDuration ¶
func SaveToFile ¶
func TimeDecode ¶
func TimeEncode ¶
func TimeEncodeNow ¶
func TimeEncodeNow() int64
func TimeEncodeString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.