controller

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2019 License: NCSA Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToMailList

func AddToMailList(w http.ResponseWriter, r *http.Request)

Endpoint to add to a mailing list

func CreateMailList

func CreateMailList(w http.ResponseWriter, r *http.Request)

Endpoint to create a mailing list

func GetAllMailLists

func GetAllMailLists(w http.ResponseWriter, r *http.Request)

Endpoint to get all mailing lists

func GetMailList

func GetMailList(w http.ResponseWriter, r *http.Request)

Endpoint to get a mailing list by id

func RemoveFromMailList

func RemoveFromMailList(w http.ResponseWriter, r *http.Request)

Endpoint to remove from a mailing list

func SendMail

func SendMail(w http.ResponseWriter, r *http.Request)

Endpoint to send mail to a specified set of users, based on a specified template

func SendMailList

func SendMailList(w http.ResponseWriter, r *http.Request)

Endpoint to send mail to a specified mail list, based on a specified template

func SetupController

func SetupController(route *mux.Route)

Types

This section is empty.

Jump to

Keyboard shortcuts

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