package
Version:
v0.0.78
Opens a new window with list of versions in this module.
Published: Jun 3, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
S3Store implements the sent store using S3.
NewSentStore creates a new S3 store.
Exists checks if a file already exists returning an error if it does.
Put stores the message in S3 as an object.
type Store interface {
Exists(messageID mail.ID, contentsHash, integrityHash, contents []byte) error
Put(messageID mail.ID, contentsHash, integrityHash, contents []byte) (address, resource string, mli uint64, err error)
}
Store interface for using S3.
Source Files
¶
Directories
¶
Package storagetest is a generated GoMock package.
|
Package storagetest is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.