Documentation ¶
Index ¶
- func CORS(next http.Handler) http.Handler
- type CreateRequest
- type Handler
- func (h *Handler) CreateIcal(w http.ResponseWriter, r *http.Request)
- func (h *Handler) CreateSchedule(w http.ResponseWriter, r *http.Request)
- func (h *Handler) FileServer(r chi.Router, path string, root http.FileSystem)
- func (h *Handler) HealthHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handler) NewRouter() *chi.Mux
- func (h *Handler) ReadinessHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateRequest ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(service s.ScheduleService) *Handler
func (*Handler) CreateIcal ¶
func (h *Handler) CreateIcal(w http.ResponseWriter, r *http.Request)
func (*Handler) CreateSchedule ¶
func (h *Handler) CreateSchedule(w http.ResponseWriter, r *http.Request)
func (*Handler) FileServer ¶
FileServer conveniently sets up a http.FileServer handler to serve static files from a http.FileSystem.
func (*Handler) HealthHandler ¶
func (h *Handler) HealthHandler(w http.ResponseWriter, r *http.Request)
func (*Handler) ReadinessHandler ¶
func (h *Handler) ReadinessHandler(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.