Documentation
¶
Index ¶
Constants ¶
View Source
const ContextErrorKey = Error("saga-error")
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuilderStep ¶
type BuilderStep struct { *Step // contains filtered or unexported fields }
func (*BuilderStep) Build ¶
func (s *BuilderStep) Build() (*Step, []error)
func (*BuilderStep) Needs ¶
func (s *BuilderStep) Needs(keys ...string) *BuilderStep
func (*BuilderStep) Reject ¶
func (s *BuilderStep) Reject(f func(ctx context.Context, thenError error) error) *BuilderStep
func (*BuilderStep) Then ¶
func (s *BuilderStep) Then(f func(ctx context.Context) error) *BuilderStep
type DublicateStepError ¶
type DublicateStepError struct {
Name string
}
func (*DublicateStepError) Error ¶
func (e *DublicateStepError) Error() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.