View as Markdown

SDK reference · Verifiers

Discovery.Middleware

Discovery.Middleware in go.provenanceauth.com/verify (Go), Verifiers. Middleware wraps next: http.ListenAndServe(":8080", (&Discovery{}).Middleware(mux)).

Signature

provenanceverify.Discovery.Middleware(next http.Handler) http.Handler

Parameters

nexthttp.HandlerRequired

Returns

http.Handler

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.