Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Providers ¶
type Providers struct { VCStore vcStore VCStatusStore vcStatusStore WitnessStore witnessStore WitnessPolicy witnessPolicy MonitoringSvc monitoringSvc DocLoader ld.DocumentLoader Metrics metricsProvider }
Providers contains all of the providers required by the handler.
type WitnessProofHandler ¶
type WitnessProofHandler struct { *Providers // contains filtered or unexported fields }
WitnessProofHandler handles an anchor credential witness proof.
func New ¶
func New(providers *Providers, pubSub pubSub) *WitnessProofHandler
New creates new proof handler.
func (*WitnessProofHandler) HandleProof ¶
func (h *WitnessProofHandler) HandleProof(witness *url.URL, anchorCredID string, endTime time.Time, proof []byte) error
HandleProof handles proof.
Click to show internal directories.
Click to hide internal directories.