routes

package
v0.0.0-...-0d1d947 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddVisitedBundle

func AddVisitedBundle(w http.ResponseWriter, r *http.Request)

func BroadcastMessage

func BroadcastMessage(sub chi.Router)

func ChangeDefaultTemplate

func ChangeDefaultTemplate(w http.ResponseWriter, r *http.Request)

func CopyDashboardTemplate

func CopyDashboardTemplate(w http.ResponseWriter, r *http.Request)

func DecodeDashboardTemplate

func DecodeDashboardTemplate(w http.ResponseWriter, r *http.Request)

func DeleteDashboardTemplate

func DeleteDashboardTemplate(w http.ResponseWriter, r *http.Request)

func EmitMessage

func EmitMessage(w http.ResponseWriter, r *http.Request)

func EncodeDashboardTemplate

func EncodeDashboardTemplate(w http.ResponseWriter, r *http.Request)

func ForkBaseTemplate

func ForkBaseTemplate(w http.ResponseWriter, r *http.Request)

func GetBaseDashboardTemplates

func GetBaseDashboardTemplates(w http.ResponseWriter, r *http.Request)

func GetDashboardTemplates

func GetDashboardTemplates(w http.ResponseWriter, r *http.Request)

func GetFavoritePage

func GetFavoritePage(w http.ResponseWriter, r *http.Request)

func GetIntercomHash

func GetIntercomHash(w http.ResponseWriter, r *http.Request)

func GetLastVisitedPages

func GetLastVisitedPages(w http.ResponseWriter, r *http.Request)

func GetUserIdentity

func GetUserIdentity(w http.ResponseWriter, r *http.Request)

Use the user obj in context to pull full data row from DB

func GetUserSelfReport

func GetUserSelfReport(w http.ResponseWriter, r *http.Request)

func GetVisitedBundles

func GetVisitedBundles(w http.ResponseWriter, r *http.Request)

func GetWidgetMappings

func GetWidgetMappings(w http.ResponseWriter, r *http.Request)

func HandleWsConnection

func HandleWsConnection(w http.ResponseWriter, r *http.Request)

func MakeDashboardTemplateRoutes

func MakeDashboardTemplateRoutes(sub chi.Router)

func MakeFavoritePagesRoutes

func MakeFavoritePagesRoutes(sub chi.Router)

func MakeLastVisitedRoutes

func MakeLastVisitedRoutes(sub chi.Router)

func MakeSelfReportRoutes

func MakeSelfReportRoutes(sub chi.Router)

func MakeUserIdentityRoutes

func MakeUserIdentityRoutes(sub chi.Router)

func MakeWsRoute

func MakeWsRoute(sub chi.Router)

func ResetDashboardTemplate

func ResetDashboardTemplate(w http.ResponseWriter, r *http.Request)

func SetFavoritePage

func SetFavoritePage(w http.ResponseWriter, r *http.Request)

func StoreLastVisitedPages

func StoreLastVisitedPages(w http.ResponseWriter, r *http.Request)

func UpdateDashboardTemplate

func UpdateDashboardTemplate(w http.ResponseWriter, r *http.Request)

func UpdateUserPreview

func UpdateUserPreview(w http.ResponseWriter, r *http.Request)

func UpdateUserSelfReport

func UpdateUserSelfReport(w http.ResponseWriter, r *http.Request)

Types

type AddVisitedBundlePayload

type AddVisitedBundlePayload struct {
	Bundle string `json:"bundle"`
}

type UpdateUserPreviewPayload

type UpdateUserPreviewPayload struct {
	UiPreview bool `json:"uiPreview"`
}

type WSRequestPayload

type WSRequestPayload struct {
	connectionhub.WsMessage
	Type string `json:"type"`
	Id   string `json:"id"`
}

Jump to

Keyboard shortcuts

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