actions

package
v0.0.0-...-6789e5d Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateChecklist

func CreateChecklist(c *gin.Context)

func CreateSchedule

func CreateSchedule(c *gin.Context)

func SendWebSocketDataToClients

func SendWebSocketDataToClients(c *gin.Context)

func SendWebSocketMessageToClients

func SendWebSocketMessageToClients(c *gin.Context)

func SendWebsocket

func SendWebsocket(c *gin.Context)

func UpdateSchedule

func UpdateSchedule(c *gin.Context)

Types

type ChecklistJSON

type ChecklistJSON struct {
	Key   string
	Value bool
}

type CombinedData

type CombinedData struct {
	ScheduleItems        []SCHEDULE_new           `json:"scheduleItems"`
	ParsedChecklistItems []database.ChecklistItem `json:"parsedChecklistItems"`
}

func GetData

func GetData(quary string) CombinedData

type SCHEDULE_new

type SCHEDULE_new struct {
	gorm.Model
	Key           string
	Overseers     string
	Comments      string
	ChecklistJSON map[string]bool
}

Jump to

Keyboard shortcuts

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