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.
Click to show internal directories.
Click to hide internal directories.