requestlog

package
v0.3.0-20260909180653-... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

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.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL