package
0.0.0-20220916203922-7b7c10a5d0ef
Repository: https://github.com/trustbloc/ace.git
Documentation: pkg.go.dev
# Functions
New return new instance of vault client.
NewDocumentReader returns a non thread-safe Reader for the Confidential Storage document.
WithDocumentDecrypter must be used when the Confidential Storage document has been encrypted.
WithHTTPClient allows providing HTTP client.
# Structs
Client for vault.
DocumentReader is an io.Reader encapsulating the contents of a Confidential Storage document.
# Interfaces
ConfidentialStorageDocReader reads encrypted documents from Confidential Storages.
HTTPClient interface for the http client.
Vault defines vault client interface.
# Type aliases
Option is a vault client instance option.
ReaderOption configures the DocumentReader.