Documentation
¶
Index ¶
Constants ¶
View Source
const ( ApiPath = "/api/dashboards" ListAndCreateDashboardHandler = "/api/dashboards/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DashboardService ¶
type DashboardService interface { CreateDashboardHandler(w http.ResponseWriter, r *http.Request) GetDashboardHandler(w http.ResponseWriter, r *http.Request) ListDashboardsHandler(w http.ResponseWriter, r *http.Request) AcceptDashboardInviteHandler(w http.ResponseWriter, r *http.Request) RejectDashboardInviteHandler(w http.ResponseWriter, r *http.Request) DeleteDashboardHandler(w http.ResponseWriter, r *http.Request) }
func NewDashboardService ¶
func NewDashboardService(dashboardStorage storage.DashboardStorage, userStorage storage.UserStorage, router *mux.Router) DashboardService
Click to show internal directories.
Click to hide internal directories.