Documentation ¶
Index ¶
- func Contacted(w http.ResponseWriter, r *http.Request)
- func Dump(w http.ResponseWriter, r *http.Request)
- func Query(w http.ResponseWriter, r *http.Request)
- func Register(w http.ResponseWriter, r *http.Request)
- func Run()
- func Update(w http.ResponseWriter, r *http.Request)
- type Contact
- type ContactsCollection
- type Format
- type Opposite
- type Registration
- type Report
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contacted ¶
func Contacted(w http.ResponseWriter, r *http.Request)
Contacted inserts a contact between reporters in Firestore.
func Dump ¶
func Dump(w http.ResponseWriter, r *http.Request)
Dump requests all contacts from Firestore
func Query ¶
func Query(w http.ResponseWriter, r *http.Request)
Query requests a new report from Firestore related to the requester ID.
Types ¶
type ContactsCollection ¶
Represents a flat Firestore collection
type Registration ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.