Documentation ¶
Index ¶
- func CanPost(db *periwinkle.Tx, group *backend.Group, userID string) bool
- func GetHandlers(cfg *periwinkle.Cfg) locale.Error
- func HandleEmail(r io.Reader, name string, db *periwinkle.Tx, cfg *periwinkle.Cfg) postfixpipe.ExitStatus
- func HandleMMS(r io.Reader, name string, db *periwinkle.Tx, cfg *periwinkle.Cfg) postfixpipe.ExitStatus
- func HandleSMS(r io.Reader, name string, db *periwinkle.Tx, cfg *periwinkle.Cfg) postfixpipe.ExitStatus
- func TwilioSMSWaitForCallback(conf *periwinkle.Cfg, messageSID string) (backend.TwilioSMSMessage, locale.Error)
- type TwilioSMSCallbackServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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)
Click to show internal directories.
Click to hide internal directories.