Versions in this module Expand all Collapse all v0 v0.2.9 Sep 18, 2023 Changes in this version + const MIME + type DB struct + func NewDB(config types.ConfYaml) *DB + func (d *DB) Fetch(key string) types.FileData + func (d *DB) FetchByCid(key string) types.FileMetadata + func (d *DB) FetchKeys() types.ListKeys + func (d *DB) Store(key string, fileMetaData types.FileMetadata) + type Estuary struct + func New(config types.ConfYaml) *Estuary + func (e *Estuary) DownloadContent(filePath string, cid string, baseUrl string) error + func (e *Estuary) FetchAllContents() types.Contents + func (e *Estuary) FetchContentByCid(cid string) types.ByCID + func (e *Estuary) UploadContent(filePath string) (types.UploadResponse, error) + type Request struct + func NewRequest(to []string, subject string, config types.ConfYaml) *Request + func (r *Request) BuildMail(cid string, dekType string, timestamp int64) []byte + func (r *Request) Send(cid string, dekType string, timestamp int64, emailType string) bool