domain_handlers

package
v0.0.0-...-00f1f15 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2015 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanPost

func CanPost(db *periwinkle.Tx, group *backend.Group, userID string) bool

func GetHandlers

func GetHandlers(cfg *periwinkle.Cfg) locale.Error

func HandleEmail

func HandleEmail(r io.Reader, name string, db *periwinkle.Tx, cfg *periwinkle.Cfg) postfixpipe.ExitStatus

func HandleMMS

func HandleMMS(r io.Reader, name string, db *periwinkle.Tx, cfg *periwinkle.Cfg) postfixpipe.ExitStatus

func HandleSMS

func HandleSMS(r io.Reader, name string, db *periwinkle.Tx, cfg *periwinkle.Cfg) postfixpipe.ExitStatus

func TwilioSMSWaitForCallback

func TwilioSMSWaitForCallback(conf *periwinkle.Cfg, messageSID string) (backend.TwilioSMSMessage, locale.Error)

Types

type TwilioSMSCallbackServer

type TwilioSMSCallbackServer struct {
	DB *periwinkle.DB
}

func (TwilioSMSCallbackServer) ServeHTTP

func (server TwilioSMSCallbackServer) ServeHTTP(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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