Documentation ¶
Overview ¶
Copyright The Mantle Authors. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface { // Upload the []byte data to the implemented storage under the given name. // The contentType is used by the underlying implementation to store and distribute the data // in the right format. Upload(name, contentType string, data []byte) (string, string, error) // Delete the data associated to the name. Delete(ctx context.Context, name string) error // Close terminates eventual opened connections. Close() error }
Storage defines a medium used to store the data temporary created for a test.
Click to show internal directories.
Click to hide internal directories.