decorator

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OperationDecorator

type OperationDecorator struct {
	// contains filtered or unexported fields
}

OperationDecorator is operation decorator.

func New

func New(namespace, domain string, processor operationProcessor, endpointClient endpointClient,
	remoteResolver remoteResolver, verifyLatestFromAnchorOrigin bool, metrics metricsProvider,
) *OperationDecorator

New creates operation decorator that will verify that local domain has latest operations from anchor origin.

func (*OperationDecorator) Decorate

Decorate will validate local state against anchor origin for update/recover/deactivate.

Jump to

Keyboard shortcuts

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