Documentation ¶
Index ¶
- func DeleteFromDB(resp http.ResponseWriter, req *http.Request, client *mongo.Client, ...) string
- func GetData(id string, resp http.ResponseWriter, req *http.Request, client *mongo.Client, ...) string
- func GetDatasByDeviceID(deviceID string, resp http.ResponseWriter, req *http.Request, ...) string
- func SaveTextToDB(resp http.ResponseWriter, req *http.Request, client *mongo.Client, ...) string
- type Response
- type VocabularyData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteFromDB ¶
func DeleteFromDB(resp http.ResponseWriter, req *http.Request, client *mongo.Client, collection *mongo.Collection, id string) string
func GetData ¶
func GetData(id string, resp http.ResponseWriter, req *http.Request, client *mongo.Client, collection *mongo.Collection) string
func GetDatasByDeviceID ¶
func GetDatasByDeviceID(deviceID string, resp http.ResponseWriter, req *http.Request, client *mongo.Client, collection *mongo.Collection) string
func SaveTextToDB ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.