deactivate

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package deactivate implements sidetree deactivate did option

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(opts *Opts)

Option is a deactivate DID option.

func WithOperationCommitment

func WithOperationCommitment(operationCommitment string) Option

WithOperationCommitment sets last operation commitment.

func WithSidetreeEndpoint

func WithSidetreeEndpoint(getEndpoints func(disableCache bool) ([]string, error)) Option

WithSidetreeEndpoint get sidetree endpoints.

func WithSigner

func WithSigner(signer api.Signer) Option

WithSigner set signer.

type Opts

type Opts struct {
	GetEndpoints        func(disableCache bool) ([]string, error)
	Signer              api.Signer
	OperationCommitment string
}

Opts deactivate did opts.

Jump to

Keyboard shortcuts

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