Documentation ¶
Index ¶
- Constants
- type Handler
- func (h *Handler) AddPetHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handler) DeletePetHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handler) HomeHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handler) PetConnectionStatusHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handler) PetGetQRCodeHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handler) PetInfoHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handler) PetPingHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handler) RootHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handler) UserLoginHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handler) UserLogoutHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handler) UserSignUpHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
View Source
const SEVEN_DAYS_IN_SECONDS = 60 * 60 * 24 * 7
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) AddPetHandler ¶
func (h *Handler) AddPetHandler(w http.ResponseWriter, r *http.Request)
func (*Handler) DeletePetHandler ¶
func (h *Handler) DeletePetHandler(w http.ResponseWriter, r *http.Request)
func (*Handler) HomeHandler ¶
func (h *Handler) HomeHandler(w http.ResponseWriter, r *http.Request)
func (*Handler) PetConnectionStatusHandler ¶
func (h *Handler) PetConnectionStatusHandler(w http.ResponseWriter, r *http.Request)
func (*Handler) PetGetQRCodeHandler ¶
func (h *Handler) PetGetQRCodeHandler(w http.ResponseWriter, r *http.Request)
func (*Handler) PetInfoHandler ¶
func (h *Handler) PetInfoHandler(w http.ResponseWriter, r *http.Request)
func (*Handler) PetPingHandler ¶
func (h *Handler) PetPingHandler(w http.ResponseWriter, r *http.Request)
func (*Handler) RootHandler ¶
func (h *Handler) RootHandler(w http.ResponseWriter, r *http.Request)
func (*Handler) UserLoginHandler ¶
func (h *Handler) UserLoginHandler(w http.ResponseWriter, r *http.Request)
func (*Handler) UserLogoutHandler ¶
func (h *Handler) UserLogoutHandler(w http.ResponseWriter, r *http.Request)
func (*Handler) UserSignUpHandler ¶
func (h *Handler) UserSignUpHandler(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.