package
0.0.0-20240430155833-3b1946fbd3a4
Repository: https://github.com/underbek/examples-go.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ParseScheduleType attempts to convert a string to a ScheduleType.
WithBlockTimeout Option to determine the duration of blocking work on one task by one service instance.
WithCanceledStatus Defines the name of the status for the canceled task, instead of the default one.
WithFailStatus Defines the name of the status for the failed task, instead of the default one.
WithMaxAttempts Specifies the maximum number of attempts to process a task.
WithMetrics Option to include metrics in Prometheus.
WithMetricsRequestTimeout Option to add context timeout inside collector on db requests.
WithProcessStatus Defines the name of the status for the task being processed, instead of the default one.
WithSuccessStatus Defines the name of the status for the successed task, instead of the default one.
WithTable Defines the name of the table for storing task information, instead of the default.

# Constants

ScheduleTypeCustom is a ScheduleType of type custom.
ScheduleTypeDefault is a ScheduleType of type default.

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

ENUM( default custom ) */.