memory_storage

package
v0.0.0-...-3a0566b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2015 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryBackend

type MemoryBackend struct {
	// contains filtered or unexported fields
}

An in-memory store for emails.

func NewMemoryBackend

func NewMemoryBackend() *MemoryBackend

func (*MemoryBackend) GetEmail

func (b *MemoryBackend) GetEmail(id email.EmailId) (e *email.SMTPEmail, err error)

func (*MemoryBackend) Initialize

func (b *MemoryBackend) Initialize() error

func (*MemoryBackend) PutEmail

func (b *MemoryBackend) PutEmail(e *email.SMTPEmail) (id email.EmailId, err error)

func (*MemoryBackend) Shutdown

func (b *MemoryBackend) Shutdown()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL