app

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email added in v1.9.0

type Email = models.Email

type Request added in v1.4.0

type Request = models.Request

type Response added in v1.4.0

type Response = models.Response

type SMTP added in v1.9.0

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

func (*SMTP) Emails added in v1.9.0

func (s *SMTP) Emails() []models.Email

func (*SMTP) Purge added in v1.9.0

func (s *SMTP) Purge()

func (*SMTP) Start added in v1.9.0

func (s *SMTP) Start() error

func (*SMTP) Stop added in v1.9.0

func (s *SMTP) Stop() error

type Supermock

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

func New

func New(httpAddr, dbDSN, smtpAddr string) (*Supermock, error)

func (*Supermock) Get added in v1.4.0

func (s *Supermock) Get(ctx context.Context, testID string) ([]Request, error)

func (*Supermock) Put added in v1.4.0

func (s *Supermock) Put(ctx context.Context, responses ...Response) error

func (*Supermock) Run added in v1.4.1

func (s *Supermock) Run() error

func (*Supermock) Start

func (s *Supermock) Start()

func (*Supermock) Stop

func (s *Supermock) Stop()

type Validator

type Validator struct{}

func (Validator) Validate

func (Validator) Validate(i interface{}) error

Jump to

Keyboard shortcuts

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