clienttest

package
v1.16.6 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 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

func (App) String added in v1.16.6

func (a App) String() string

String mocked implementation

Jump to

Keyboard shortcuts

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