Documentation ¶
Index ¶
- func ChangeState(ID int, state int) error
- func CreateBoard(s beasiswakita.Scholarship) beasiswakita.StudentBoard
- func CreateScholarship(s beasiswakita.Scholarship) (beasiswakita.Scholarship, error)
- func GetScholarship(ID int) (beasiswakita.Scholarship, error)
- func GetScholarships(filter map[string]string, limit int, offset int) ([]beasiswakita.Scholarship, int, error)
- func UpdateScholarship(s beasiswakita.Scholarship) (beasiswakita.Scholarship, error)
- type ScholarshipHandler
- func (h *ScholarshipHandler) AddWhislist(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h *ScholarshipHandler) Create(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (h *ScholarshipHandler) Get(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h *ScholarshipHandler) GetAll(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (h *ScholarshipHandler) State(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h *ScholarshipHandler) Update(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeState ¶
func CreateBoard ¶
func CreateBoard(s beasiswakita.Scholarship) beasiswakita.StudentBoard
func CreateScholarship ¶
func CreateScholarship(s beasiswakita.Scholarship) (beasiswakita.Scholarship, error)
func GetScholarship ¶
func GetScholarship(ID int) (beasiswakita.Scholarship, error)
func GetScholarships ¶
func GetScholarships(filter map[string]string, limit int, offset int) ([]beasiswakita.Scholarship, int, error)
func UpdateScholarship ¶
func UpdateScholarship(s beasiswakita.Scholarship) (beasiswakita.Scholarship, error)
Types ¶
type ScholarshipHandler ¶
type ScholarshipHandler struct{}
func (*ScholarshipHandler) AddWhislist ¶
func (h *ScholarshipHandler) AddWhislist(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*ScholarshipHandler) Create ¶
func (h *ScholarshipHandler) Create(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*ScholarshipHandler) Get ¶
func (h *ScholarshipHandler) Get(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*ScholarshipHandler) GetAll ¶
func (h *ScholarshipHandler) GetAll(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*ScholarshipHandler) State ¶
func (h *ScholarshipHandler) State(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*ScholarshipHandler) Update ¶
func (h *ScholarshipHandler) Update(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
Click to show internal directories.
Click to hide internal directories.