package
0.6.7
Repository: https://github.com/aenix-io/talm.git
Documentation: pkg.go.dev

# Functions

DefaultOptions describes the default options to a runner.
New wraps runner.Runner with restart policy.
WithRestartInterval sets the interval between restarts of the failed task.
WithType sets the type of a service.

# Constants

Forever will always restart a process.
Once will run process exactly once.
UntilSuccess will restart process until run succeeds.

# Structs

Options is the functional options struct.

# Type aliases

Option is the functional option func.
Type represents the service's restart policy.