Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler handles API requests
func (*Handler) ServeHTTP ¶
func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements http.Handler
func (*Handler) SetOnNotificationsDisabled ¶
func (h *Handler) SetOnNotificationsDisabled(fn func())
SetOnNotificationsDisabled sets the callback for when notifications are disabled at runtime
func (*Handler) SetOnNotificationsEnabled ¶
func (h *Handler) SetOnNotificationsEnabled(fn func())
SetOnNotificationsEnabled sets the callback for when notifications are enabled at runtime
Click to show internal directories.
Click to hide internal directories.