capstoneLogi

package
v0.0.0-...-3c38824 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleLogi

func HandleLogi(c *gin.Context)

Types

type LogFormat

type LogFormat struct {
	UserID               string `json:"userID"`
	CurrentQuestionIndex int    `json:"currentQuestionIndex"`
	EditorContentBefore  string `json:"editorContentBefore"`
	EditorContentAfter   string `json:"editorContentAfter"`
	Timestamp            string `json:"timestamp"`
	IsPaste              bool   `json:"isPaste"`
	IsDeletion           bool   `json:"isDeletion"`
	IsCompilation        bool   `json:"isCompilation"`
	IsSubmission         bool   `json:"isSubmission"`
}

type LogiRequest

type LogiRequest struct {
	Logs []LogFormat `json:"logs" binding:"required"`
}

Jump to

Keyboard shortcuts

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