dashboard

package
v0.0.0-...-289f4dd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2022 License: MIT Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL