Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChallengesHandler ¶
type ChallengesHandler struct {
// contains filtered or unexported fields
}
ChallengesHandler is an http.Handler which returns all the challenges in the database
func NewChallengesHandler ¶
func NewChallengesHandler(logger golog.Logger, db *sqlx.DB) ChallengesHandler
NewChallengesHandler creates a ChallengesHandler
func (ChallengesHandler) ServeHTTP ¶
func (h ChallengesHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements the http.Handler
type PhoneCallsHandler ¶
type PhoneCallsHandler struct {
// contains filtered or unexported fields
}
PhoneCallsHandler is an http.Handler which returns all the phone calls in the database
func NewPhoneCallsHandler ¶
func NewPhoneCallsHandler(logger golog.Logger, db *sqlx.DB) PhoneCallsHandler
NewPhoneCallsHandler creates a PhoneCallsHandler
func (PhoneCallsHandler) ServeHTTP ¶
func (h PhoneCallsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements the http.Handler
type PhoneNumbersHandler ¶
type PhoneNumbersHandler struct {
// contains filtered or unexported fields
}
PhoneNumbersHandler is an http.Handler which returns all the phone numbers in the database
func NewPhoneNumbersHandler ¶
func NewPhoneNumbersHandler(logger golog.Logger, db *sqlx.DB) PhoneNumbersHandler
NewPhoneNumbersHandler creates a PhoneNumbersHandler
func (PhoneNumbersHandler) ServeHTTP ¶
func (h PhoneNumbersHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements the http.Handler
Click to show internal directories.
Click to hide internal directories.