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 ¶
WithMetricsMiddleware wraps Processor to handle Prometheus metrics.
Click to show internal directories.
Click to hide internal directories.