Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AudioClipsHandler ¶
type AudioClipsHandler struct {
// contains filtered or unexported fields
}
AudioClipsHandler is an http.Handler which sends audio files
func NewAudioClipsHandler ¶
func NewAudioClipsHandler(logger golog.Logger) AudioClipsHandler
NewAudioClipsHandler creates an AudioClipsHandler
func (AudioClipsHandler) ServeHTTP ¶
func (h AudioClipsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements http.Handler
type CallsHandler ¶
type CallsHandler struct {
// contains filtered or unexported fields
}
CallsHandler implements a http.Handler which responds to Twilio phone calls
func NewCallsHandler ¶
NewCallsHandler creates a new CallsHandler
func (CallsHandler) ServeHTTP ¶
func (h CallsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP handles a Twilio phone call
type TestInputHandler ¶
type TestInputHandler struct {
// contains filtered or unexported fields
}
TestInputHandler is an http.Handler which receives digits provided by callers when they attempt to answer the challenge question
func NewTestInputHandler ¶
NewTestInputHandler creates a TestInputHandler
func (TestInputHandler) ServeHTTP ¶
func (h TestInputHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements http.Handler
Click to show internal directories.
Click to hide internal directories.