Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminInterface ¶
type AdminInterface interface { Penyakit(w http.ResponseWriter, r *http.Request) Obat(w http.ResponseWriter, r *http.Request) UpdateObat(w http.ResponseWriter, r *http.Request) DeleteObat(w http.ResponseWriter, r *http.Request) DeletePenyakit(w http.ResponseWriter, r *http.Request) Reported(w http.ResponseWriter, r *http.Request) ListAllUser(w http.ResponseWriter, r *http.Request) }
func NewAdmin ¶
func NewAdmin(service service.AdminInterface, gauge *pkg.Data) AdminInterface
type KunjunganInterface ¶
type KunjunganInterface interface { Create(w http.ResponseWriter, r *http.Request) Find(w http.ResponseWriter, r *http.Request) }
func NewKunjungan ¶
func NewKunjungan(service service.KunjunganInterface, gauge *pkg.Data) KunjunganInterface
type ObatInterface ¶
type ObatInterface interface { FindID(w http.ResponseWriter, r *http.Request) FindAll(w http.ResponseWriter, r *http.Request) }
func NewObat ¶
func NewObat(service service.ObatInterface, gauge *pkg.Data) ObatInterface
type PenyakitInterface ¶
type PenyakitInterface interface { FindAll(w http.ResponseWriter, r *http.Request) FindID(w http.ResponseWriter, r *http.Request) }
func NewPenyakit ¶
func NewPenyakit(service service.PenyakitInterface, gauge *pkg.Data) PenyakitInterface
type UserInterface ¶
type UserInterface interface { Register(w http.ResponseWriter, r *http.Request) Login(w http.ResponseWriter, r *http.Request) Update(w http.ResponseWriter, r *http.Request) GotDoctor(w http.ResponseWriter, r *http.Request) GotNurse(w http.ResponseWriter, r *http.Request) }
func NewUser ¶
func NewUser(service service.UserInterface, gauge *pkg.Data) UserInterface
Click to show internal directories.
Click to hide internal directories.