package
Version:
v6.3.5+incompatible
Opens a new window with list of versions in this module.
Published: Jul 6, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 42
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package worker implements the worker side of Mettle.
func RunForever(instanceName, requestQueue, responseQueue, name, storage, dir, cacheDir, browserURL, sandbox, lucidity, tokenFile string, cachePrefix []string, clean, secureStorage bool, timeout time.Duration, maxCacheSize, minDiskSpace int64)
RunForever runs the worker, receiving jobs until terminated.
func RunOne(instanceName, name, storage, dir, cacheDir, sandbox, tokenFile string, cachePrefix []string, clean, secureStorage bool, timeout time.Duration, hash string, size int64) error
RunOne runs one single request, returning any error received.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.