Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VisitorStop = errors.New("visitor stop")
VisitorStop is an error which causes the current step in a Visitor to stop processing. It's used to enable a Visitor to handle all processing of a node within itself rather than the Visitor proceeding to any child nodes of that node.
Functions ¶
func IsVisitorStop ¶
Types ¶
type Builder ¶
type Builder[T any] interface { At(func(Visitor[T], *At) error) Builder[T] Cron(func(Visitor[T], *Cron) error) Builder[T] Every(f func(Visitor[T], *Every) error) Builder[T] Rule(f func(Visitor[T], *Rule) error) Builder[T] Schedule(f func(Visitor[T], *Schedule) error) Builder[T] Script(func(Visitor[T], *Script) error) Builder[T] TaskRule(f func(Visitor[T], *TaskRule) error) Builder[T] Build() Visitor[T] }
func NewBuilder ¶
Click to show internal directories.
Click to hide internal directories.