domain

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("domain",
	fx.Provide(func(
		env *env.Env,
		commsClient comms.CommsClient,
	) (Domain, error) {
		return &domain{
			env:         env,
			commsClient: commsClient,
		}, nil
	}),
)

Functions

This section is empty.

Types

type ContactUsData

type ContactUsData struct {
	Name         string `json:"name"`
	Email        string `json:"email"`
	MobileNumber string `json:"mobileNumber"`
	CompanyName  string `json:"CompanyName"`
	Country      string `json:"country"`
	Message      string `json:"message"`
}

type Domain

type Domain interface {
	SendContactUsEmail(ctx context.Context, contactUsData *ContactUsData) error
}

Jump to

Keyboard shortcuts

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