decorator

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

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, 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