handler

package
v0.0.0-...-56ff5f7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL