Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DataMap sync.Map
DataMap is the primary map where we store the data
Functions ¶
func AddData ¶
func AddData(w http.ResponseWriter, r *http.Request)
AddData will take a post request and add it to the data set
func GetData ¶
func GetData(w http.ResponseWriter, r *http.Request)
GetData will get the current data set and return it back
Types ¶
Click to show internal directories.
Click to hide internal directories.