Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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) error) *BuilderStep
func (*BuilderStep) Then ¶
func (s *BuilderStep) Then(f func(ctx context.Context) error) *BuilderStep
type SagaBuilder ¶
type SagaBuilder struct { *Saga // contains filtered or unexported fields }
func New ¶
func New(name string, setters ...Option) *SagaBuilder
func (*SagaBuilder) Build ¶
func (s *SagaBuilder) Build() (*Saga, []error)
func (*SagaBuilder) WithContext ¶
func (s *SagaBuilder) WithContext(ctx context.Context) *SagaBuilder
Click to show internal directories.
Click to hide internal directories.