Documentation ¶
Index ¶
- Constants
- func AdminLoginHandler(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func AdminLogoutHandler(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func AdminRegistrationHandler(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func CreatePatient(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func CreatePsychologist(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func FindOne(dbase *gorm.DB, email, password string) (map[string]interface{}, error)
- func Get5LatestPsychologists(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func GetChats(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func GetConnections(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func GetConversation(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func GetMonthlyActiveUsers(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func GetNumberofPatients(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func GetNumberofPsychologists(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func GetPatientConnections(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func GetProfileHandler(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func GetPsychologists(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func LoginHandler(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func LogoutHandler(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func NewChat(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func PairUsers(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func PatientLoginHandler(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func PatientLogoutHandler(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func ResetHandler(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func UpdatePassword(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- func UpdateProfileHandler(dbase *gorm.DB, w http.ResponseWriter, r *http.Request)
- type Item
Constants ¶
View Source
const (
ErrorResponse = "An error occured while processinf your request"
)
Variables ¶
This section is empty.
Functions ¶
func AdminLoginHandler ¶
func AdminLogoutHandler ¶
func CreatePatient ¶
CreatePatient an implementation of patient's creation
func CreatePsychologist ¶
CreatePsychologist implements psychologist creation
func Get5LatestPsychologists ¶
func GetConnections ¶
* 1. Choose to shake the world for God 2. know how to co-operate with the Holy Spirit 3. Believe in miracle 4. Depend on the power of the Holy Spirit 5. Priase Jesus => They key to the glory store is Praise to Jesus 6. If you are not called in to ministry by God, don't do it 7. You don't have to understand just obey 8. Give your heart 9. God is absolute perfection 10.Have a conviction about God's call
func GetConversation ¶
func GetMonthlyActiveUsers ¶
func GetNumberofPatients ¶
func GetPatientConnections ¶
func GetProfileHandler ¶
func GetPsychologists ¶
func LoginHandler ¶
LoginHandler implements authentication for psychologists
func LogoutHandler ¶
func PatientLoginHandler ¶
func PatientLogoutHandler ¶
func ResetHandler ¶
func UpdatePassword ¶
func UpdateProfileHandler ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.