Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitServer ¶
InitServer initializes a finalizer server.
Types ¶
type Options ¶
type Options struct { // How often to query for tasks. TaskQueryInterval time.Duration // How long to lease a task for. TaskLeaseDuration time.Duration // Number of tasks to process concurrently. TaskWorkers int }
Options is finalizer server configuration.
func DefaultOptions ¶
func DefaultOptions() Options
DefaultOptions returns Options with default values.
Click to show internal directories.
Click to hide internal directories.