NewAttestationClient returns a client for the Attestation from the given config.
(c config)
| 554 | |
| 555 | // NewAttestationClient returns a client for the Attestation from the given config. |
| 556 | func NewAttestationClient(c config) *AttestationClient { |
| 557 | return &AttestationClient{config: c} |
| 558 | } |
| 559 | |
| 560 | // Use adds a list of mutation hooks to the hooks stack. |
| 561 | // A call to `Use(f, g, h)` equals to `attestation.Hooks(f(g(h())))`. |