Documentation
¶
Overview ¶
Package requestlog retains the request occurrences exposed by Stovepipe's history API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRequestStateLog ¶
func NewRequestStateLog(request entity.Request, outcomeReason entity.RequestOutcomeReason) entity.RequestLog
NewRequestStateLog constructs the occurrence representing the request's current durable state.
Types ¶
type Materializer ¶
type Materializer interface {
// PersistLog retains one request-log occurrence idempotently.
PersistLog(context.Context, storage.Storage, entity.RequestLog) error
}
Materializer persists request-log occurrences into their queue-scoped read model.
func NewMaterializer ¶
func NewMaterializer(scope tally.Scope) Materializer
NewMaterializer creates a request-log materializer.
Click to show internal directories.
Click to hide internal directories.