Documentation ¶
Index ¶
- func ChangeBoardState(ID int, state int) error
- func CreateBoard(board beasiswakita.StudentBoard) (beasiswakita.StudentBoard, error)
- func DeleteBoard(board beasiswakita.StudentBoard) (beasiswakita.StudentBoard, error)
- func GetBoards(ID int) ([]beasiswakita.StudentBoard, error)
- func UpdateBoard(board beasiswakita.StudentBoard) (beasiswakita.StudentBoard, error)
- type BoardHandler
- func (h *BoardHandler) Create(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (h *BoardHandler) Delete(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (h *BoardHandler) Get(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (h *BoardHandler) State(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h *BoardHandler) Update(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeBoardState ¶
func CreateBoard ¶
func CreateBoard(board beasiswakita.StudentBoard) (beasiswakita.StudentBoard, error)
func DeleteBoard ¶
func DeleteBoard(board beasiswakita.StudentBoard) (beasiswakita.StudentBoard, error)
func GetBoards ¶
func GetBoards(ID int) ([]beasiswakita.StudentBoard, error)
func UpdateBoard ¶
func UpdateBoard(board beasiswakita.StudentBoard) (beasiswakita.StudentBoard, error)
Types ¶
type BoardHandler ¶
type BoardHandler struct{}
func (*BoardHandler) Create ¶
func (h *BoardHandler) Create(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*BoardHandler) Delete ¶
func (h *BoardHandler) Delete(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*BoardHandler) Get ¶
func (h *BoardHandler) Get(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*BoardHandler) State ¶
func (h *BoardHandler) State(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*BoardHandler) Update ¶
func (h *BoardHandler) Update(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
Click to show internal directories.
Click to hide internal directories.