Versions in this module Expand all Collapse all v1 v1.6.391 Jul 2, 2024 Changes in this version + func AddHobby(userIDAuth uint64, hobby model.Hobby) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func CreatePost(userIDAuth uint64, post model.Post) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func CreateUser(userIDAuth uint64, user model.User) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func DeletePost(userIDAuth uint64, id string) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func GetHobbies() (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func GetPost(id string) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func GetPosts() (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func GetUser(id string) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func GetUsers() (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func MongoCreateOne(data model.Geocoding) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func MongoDeleteByID(id string) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func MongoDeleteFieldByID(req model.Geocoding) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func MongoGetAll() (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func MongoGetByFilter(req model.Geocoding) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func MongoGetByID(id string) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func MongoUpdateByID(req model.Geocoding) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func RedisCreate(data model.RedisData) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func RedisCreateHash(data model.RedisDataHash) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func RedisDelete(data model.RedisData) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func RedisDeleteHash(data model.RedisDataHash) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func RedisRead(data model.RedisData) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func RedisReadHash(data model.RedisDataHash) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func UpdatePost(userIDAuth uint64, id string, post model.Post) (httpResponse gmodel.HTTPResponse, httpStatusCode int) + func UpdateUser(userIDAuth uint64, user model.User) (httpResponse gmodel.HTTPResponse, httpStatusCode int)