contact

package
Version: v0.0.0-...-da4d284 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: ISC Imports: 5 Imported by: 0

README

contact

-- import "vimagination.zapto.org/webserver/contact"

Usage

type Contact
type Contact struct {
	Template *template.Template
	From, To string
	Host     string
	Auth     smtp.Auth
	Err      chan<- error
}

Contact contains all of the variables required to create a 'Contact' form

func (*Contact) ServeHTTP
func (c *Contact) ServeHTTP(w http.ResponseWriter, r *http.Request)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contact

type Contact struct {
	Template *template.Template
	From, To string
	Host     string
	Auth     smtp.Auth
	Err      chan<- error
}

Contact contains all of the variables required to create a 'Contact' form

func (*Contact) ServeHTTP

func (c *Contact) ServeHTTP(w http.ResponseWriter, r *http.Request)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL