controllers

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteArchiveController

func DeleteArchiveController(c *gin.Context)

func DownloadTemplateController

func DownloadTemplateController(c *gin.Context)

func GetArchiveController

func GetArchiveController(c *gin.Context)

func OverwriteArchiveController

func OverwriteArchiveController(c *gin.Context)

func SaveArchiveController

func SaveArchiveController(c *gin.Context)

Types

type DeleteArchiveRequest

type DeleteArchiveRequest struct {
	ArchiveUUID string `json:"archive_uuid" validate:"required,uuid4"`
	ArchiveType string `json:"archive_type" validate:"required,oneof=test submission"`
}

type DownloadArchiveRequest

type DownloadArchiveRequest struct {
	ArchiveUUID string `json:"archive_uuid" validate:"required,uuid4"`
	ArchiveType string `json:"archive_type" validate:"required,oneof=test submission"`
}

Jump to

Keyboard shortcuts

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