controller

package
v0.0.0-...-ac3130f Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(c *gin.Context)

func CreateNode

func CreateNode(c *gin.Context)

func DeleteFile

func DeleteFile(c *gin.Context)

func DeleteNode

func DeleteNode(c *gin.Context)

func GetAllFiles

func GetAllFiles(c *gin.Context)

func GetAllNodes

func GetAllNodes(c *gin.Context)

func GetFile

func GetFile(c *gin.Context)

func Load

func Load(c *gin.Context)

Types

type FormLoad

type FormLoad struct {
	Config []FormLoadConfig `json:"config"`
}

type FormLoadConfig

type FormLoadConfig struct {
	Node string `json:"node"`
	File string `json:"file"`
}

type LoadConfig

type LoadConfig struct {
	Node *model.Node
	File *model.File
}

type Request

type Request struct {
	Content string `json:"content"`
}

Jump to

Keyboard shortcuts

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