Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExecutablePath ¶
func GetExecutablePath() string
func GetVersion ¶ added in v0.2.0
func NewHTTPClient ¶
func UpdateSubs ¶
func UpdateSubs()
Types ¶
type ThreadPool ¶
type ThreadPool struct { NumWorkers int Tasks chan Task Results chan Task Wg sync.WaitGroup TaskFunc func(interface{}) (interface{}, error) // contains filtered or unexported fields }
func NewThreadPool ¶
func NewThreadPool(numWorkers int, taskFunc func(interface{}) (interface{}, error)) *ThreadPool
func (*ThreadPool) AddTaskArgs ¶
func (tp *ThreadPool) AddTaskArgs(argsList []interface{})
func (*ThreadPool) GetResults ¶
func (tp *ThreadPool) GetResults() []Task
func (*ThreadPool) Start ¶
func (tp *ThreadPool) Start()
func (*ThreadPool) Wait ¶
func (tp *ThreadPool) Wait()
Click to show internal directories.
Click to hide internal directories.