Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler contains the runtime information such as logging and database.
func (*Handler) Add ¶
func (h *Handler) Add(w http.ResponseWriter, r *http.Request)
Add saves pinned item.
func (*Handler) DeleteUserPin ¶
func (h *Handler) DeleteUserPin(w http.ResponseWriter, r *http.Request)
DeleteUserPin removes saved user pin.
func (*Handler) GetUserPins ¶
func (h *Handler) GetUserPins(w http.ResponseWriter, r *http.Request)
GetUserPins returns users' pins.
func (*Handler) UpdatePinSequence ¶
func (h *Handler) UpdatePinSequence(w http.ResponseWriter, r *http.Request)
UpdatePinSequence records order of pinned items.
Click to show internal directories.
Click to hide internal directories.