Documentation ¶
Index ¶
- Constants
- func ConcatenatePreference(preference string, polygon string) (string, bool)
- type Handle
- func (h *Handle) ChangePolygon(w http.ResponseWriter, r *http.Request)
- func (h *Handle) CreateObservation(w http.ResponseWriter, r *http.Request)
- func (h *Handle) DeleteUser(w http.ResponseWriter, r *http.Request)
- func (h *Handle) GetAvailablePolygons(w http.ResponseWriter, r *http.Request)
- func (h *Handle) GetObservations(w http.ResponseWriter, r *http.Request)
- func (h *Handle) GetVolunteer(w http.ResponseWriter, r *http.Request)
- func (h *Handle) WhatsAppEventHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handle) WhatsAppVerification(w http.ResponseWriter, r *http.Request)
Constants ¶
View Source
const ( // RegisterUrl = "https://storage.googleapis.com/countmein-web/register.html" // VerificationUrl = "https://storage.googleapis.com/countmein-web/phone-verification.html" // ObservationUrl = "https://storage.googleapis.com/countmein-web/demonstration.html" JoinUrl = "https://storage.googleapis.com/countmein-web/join-demonstration.html" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handle ¶
type Handle struct {
// contains filtered or unexported fields
}
func (*Handle) ChangePolygon ¶
func (h *Handle) ChangePolygon(w http.ResponseWriter, r *http.Request)
func (*Handle) CreateObservation ¶
func (h *Handle) CreateObservation(w http.ResponseWriter, r *http.Request)
func (*Handle) DeleteUser ¶
func (h *Handle) DeleteUser(w http.ResponseWriter, r *http.Request)
func (*Handle) GetAvailablePolygons ¶
func (h *Handle) GetAvailablePolygons(w http.ResponseWriter, r *http.Request)
func (*Handle) GetObservations ¶
func (h *Handle) GetObservations(w http.ResponseWriter, r *http.Request)
func (*Handle) GetVolunteer ¶
func (h *Handle) GetVolunteer(w http.ResponseWriter, r *http.Request)
func (*Handle) WhatsAppEventHandler ¶
func (h *Handle) WhatsAppEventHandler(w http.ResponseWriter, r *http.Request)
func (*Handle) WhatsAppVerification ¶
func (h *Handle) WhatsAppVerification(w http.ResponseWriter, r *http.Request)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.