internal

package
v0.0.0-...-b75d32b Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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

func ConcatenatePreference

func ConcatenatePreference(preference string, polygon string) (string, bool)

Types

type Handle

type Handle struct {
	// contains filtered or unexported fields
}

func NewHandle

func NewHandle(dsc ds.Client, wac whatsapp.Client) *Handle

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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