processor

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor interface {
	Process(ctx context.Context, request *domain.ProcessRequest) *domain.ProviderProcessResponse
}

Processor is a api-gateway entrypoint.

func New

func New(descriptionStore descriptionStore, clientStore clientStore, tokenParser tokenParser, auditor audit.Auditor, reteLimiter ratelimit.Limiter) Processor

New returns new Processor.

func WithMetricsMiddleware

func WithMetricsMiddleware(next Processor) Processor

WithMetricsMiddleware wraps Processor to handle Prometheus metrics.

Jump to

Keyboard shortcuts

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