GO-2024-2703: Kopia: Storage connection credentials written to console on "repository status" CLI command with JSON output in github.com/kopia/kopia
package
Version:
v0.13.0
Opens a new window with list of versions in this module.
Published: Apr 30, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package beforeop implements wrapper around blob.Storage that run a given callback before all operations.
NewUniformWrapper is same as NewWrapper except that it only accepts a single
uniform callback for all the operations for simpler use-cases.
func NewWrapper(wrapped blob.Storage, onGetBlob onGetBlobCallback, onGetMetadata, onDeleteBlob callback, onPutBlob onPutBlobCallback) blob.Storage
NewWrapper creates a wrapped storage interface for data operations that need
to run a callback before the actual operation.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.