Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLIRunner ¶
type CLIRunner[OT any] struct { Ctx *context.Context Opts OT Args []string // contains filtered or unexported fields }
func NewCLIRunner ¶
func (*CLIRunner[OT]) AddUow ¶
func (cr *CLIRunner[OT]) AddUow( id string, work func(context.Context, UnitOfWork, interface{}) (interface{}, error), ) UnitOfWork
func (*CLIRunner[OT]) CancelFunc ¶
func (cr *CLIRunner[OT]) CancelFunc() context.CancelFunc
func (*CLIRunner[OT]) GetUow ¶
func (cr *CLIRunner[OT]) GetUow(id string) UnitOfWork
func (*CLIRunner[OT]) SetWorkDelay ¶
Click to show internal directories.
Click to hide internal directories.