services

package
v0.0.0-...-acac986 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PaymentIntent

func PaymentIntent(a int64, m string) (*stripe.PaymentIntent, error)

PaymentIntent creates a payment intent

Types

type Mail

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

Mail holds contact form information

func NewMail

func NewMail(from, body string) Mail

NewMail creates a Mail with from and body fields

func (*Mail) Send

func (m *Mail) Send()

Send runs a mail client and send mail

type Sender

type Sender interface {
	Send()
}

Sender objects implements Send() method

Jump to

Keyboard shortcuts

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