supplier

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSupplierClient

func NewSupplierClient(
	deps depinject.Config,
	opts ...client.SupplierClientOption,
) (*supplierClient, error)

NewSupplierClient constructs a new SupplierClient with the given dependencies and options. If a signingKeyName is not configured, an error will be returned.

Required dependencies:

  • client.TxClient
  • client.TxContext

Available options:

  • WithSigningKeyName

func WithSigningKeyName

func WithSigningKeyName(keyName string) client.SupplierClientOption

WithSigningKeyName sets the name of the key which the supplier client should retrieve from the keyring to use for authoring and signing CreateClaim and SubmitProof messages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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