Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gosaic ¶
type ProgressCounter ¶
type ProgressCounter struct {
// contains filtered or unexported fields
}
func (*ProgressCounter) Finish ¶
func (c *ProgressCounter) Finish() *pb.ProgressBar
func (*ProgressCounter) Increment ¶
func (c *ProgressCounter) Increment() *pb.ProgressBar
type ProgressIndicator ¶
type ProgressIndicator interface { Increment() *pb.ProgressBar Finish() *pb.ProgressBar }
type Seed ¶
type Seed struct { Seed *multipart.FileHeader `form:"seed" binding:"required" json:"seed"` Tilesize int `form:"tilesize" binding:"required" json:"tilesize"` Comparesize int `form:"comparesize" binding:"required" json:"comparesize"` RedisLabel string `form:"redislabel" binding:"required" json:"redislabel"` OutputSize int `form:"outputsize" binding:"required" json:"outputsize"` CompareDist float64 `form:"comparedist" binding:"required" json:"comparedist"` Unique bool `form:"unique" binding:"-" json:"unique"` SmartCrop bool `form:"smartcrop" binding:"-" json:"smartcrop"` Progress bool `form:"progress" binding:"-" json:"progress"` Workers int `form:"workers" binding:"-" json:"workers"` }
Click to show internal directories.
Click to hide internal directories.