Versions in this module Expand all Collapse all v0 v0.1.0 Aug 20, 2021 Changes in this version + var Black = color.RGBA + var Blue = color.RGBA + var Cyan = color.RGBA + var Gray = color.RGBA + var Green = color.RGBA + var Lime = color.RGBA + var Magenta = color.RGBA + var Maroon = color.RGBA + var Navy = color.RGBA + var Olive = color.RGBA + var Purple = color.RGBA + var Red = color.RGBA + var Silver = color.RGBA + var Teal = color.RGBA + var White = color.RGBA + var Yellow = color.RGBA + func ColorDistance(c1 color.RGBA, c2 color.RGBA) float64 + func GetXXHashString(s string) string + func Mosaic(req *Request) error + type CacheInfo struct + type CalFileInfo struct + type ColorData struct + type FileInfo struct + B uint8 + Filename string + G uint8 + Hash string + R uint8 + type Request struct + CheckHash *bool + Database *string + Lib string + LibName *string + MaxSize *int + PixelSize *int + Scalealg *string + Src string + SrcSize *int + Target string + Worker *int + type ThreadPool struct + func NewThreadPool(max int, buffer int, exef func(interface{})) *ThreadPool + func (tp *ThreadPool) AddJob(hash int, v interface{}) + func (tp *ThreadPool) AddJobTimeout(hash int, v interface{}, timeoutms int) bool + func (tp *ThreadPool) GetStat() ThreadPoolStat + func (tp *ThreadPool) ResetStat() + func (tp *ThreadPool) Stop() + type ThreadPoolStat struct + Datalen []int + Processnum []int + Pushnum []int