Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SagaEvent ¶
type SagaEvent struct {
saga.HistoryEvent
}
type StatusHandler ¶
type StatusHandler struct {
// contains filtered or unexported fields
}
func NewStatusHandler ¶
func NewStatusHandler(logger log.Logger, service StatusService) *StatusHandler
func (*StatusHandler) GetFilteredBy ¶
func (h *StatusHandler) GetFilteredBy(resp http.ResponseWriter, r *http.Request)
func (*StatusHandler) GetStatus ¶
func (h *StatusHandler) GetStatus(resp http.ResponseWriter, r *http.Request)
type StatusResponse ¶
type StatusService ¶
type StatusService interface { GetStatus(ctx context.Context, sagaId string) (*StatusResponse, error) GetFilteredBy(ctx context.Context, sagaId, status, sagaType string) ([]*StatusResponse, error) }
func NewStatusService ¶
func NewStatusService(store saga.Store) StatusService
Click to show internal directories.
Click to hide internal directories.