Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Admin ¶
type Admin struct { Id string `json:"id"` Password string `json:"password"` Name string `json:"name"` LastName string `json:"last_name"` Email string `json:"email"` }
func CreateAdmin ¶
func CreateAdmin(newAdmin AdminInput) (Admin, error)
func GetAdminByEmail ¶
type AdminInput ¶
type AdminOutput ¶
type Doctor ¶
type Doctor struct { Id string `json:"id"` Password string `json:"password"` Email string `json:"email"` }
func CreateDoctor ¶
func CreateDoctor(newDoctor DoctorInput) (Doctor, error)
func GetDoctorByEmail ¶
func GetDoctorById ¶
type DoctorInput ¶
type DoctorOutput ¶
type Patient ¶
type Patient struct { Id string `json:"id"` Password string `json:"password"` Email string `json:"email"` }
func CreatePatient ¶
func CreatePatient(newPatient PatientInput) (Patient, error)
func GetPatientByEmail ¶
func GetPatientById ¶
type PatientInput ¶
type PatientOutput ¶
Click to show internal directories.
Click to hide internal directories.