clienttest

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

App mock for client

func New

func New(enabled bool) App

New creates new App from Config

func (App) Close added in v1.11.0

func (a App) Close()

Close mocked ressources

func (App) Enabled

func (a App) Enabled() bool

Enabled mocked implementation

func (App) Send

func (a App) Send(ctx context.Context, email model.MailRequest) error

Send mocked implementation

Jump to

Keyboard shortcuts

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