MCPcopy Create free account
hub / github.com/gotenberg/gotenberg / MiddlewareProvider

Interface MiddlewareProvider

pkg/modules/api/api.go:98–100  ·  view source on GitHub ↗

MiddlewareProvider is a module interface that adds middlewares to the [Api].

Source from the content-addressed store, hash-verified

96
97// MiddlewareProvider is a module interface that adds middlewares to the [Api].
98type MiddlewareProvider interface {
99 Middlewares() ([]Middleware, error)
100}
101
102// MiddlewareStack is a type that helps to determine in which stack the
103// middlewares provided by the [MiddlewareProvider] modules should be located.

Callers 1

ProvisionMethod · 0.65

Implementers 2

MiddlewareProviderMockpkg/modules/api/mocks.go
Webhookpkg/modules/webhook/webhook.go

Calls

no outgoing calls

Tested by

no test coverage detected