controllers

package
v0.0.0-...-842742b Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const ModuleLevelKeyword = "__PUG_BACKEND__"

Variables

View Source
var ModulePipeRestriction *sync.Map

Functions

func CreatePipeline

func CreatePipeline(c *gin.Context)

func DeleteExtrudedPipe

func DeleteExtrudedPipe(c *gin.Context)

func EditModulePipeRestriction

func EditModulePipeRestriction(c *gin.Context)

func ExtrudePipe

func ExtrudePipe(c *gin.Context)

func GetAllExtrudedPipeInfo

func GetAllExtrudedPipeInfo(c *gin.Context)

func GetAllModuleInfo

func GetAllModuleInfo(c *gin.Context)

func GetAllPipeInfo

func GetAllPipeInfo(c *gin.Context)

func GetAllPipelines

func GetAllPipelines(c *gin.Context)

func GetExtrudedPipeInfo

func GetExtrudedPipeInfo(c *gin.Context)

func GetModuleInfo

func GetModuleInfo(c *gin.Context)

func GetPipeInfo

func GetPipeInfo(c *gin.Context)

func InitModulePipeRestriction

func InitModulePipeRestriction(c *gin.Context)

func SessionCreate

func SessionCreate(c *gin.Context)

func SessionGetKey

func SessionGetKey(c *gin.Context)

func SessionRevoke

func SessionRevoke(c *gin.Context)

func SessionUpdate

func SessionUpdate(c *gin.Context)

func UserInfoGet

func UserInfoGet(c *gin.Context)

func UserRegister

func UserRegister(c *gin.Context)

func UserSettingGet

func UserSettingGet(c *gin.Context)

func UserSettingPatch

func UserSettingPatch(c *gin.Context)

Types

type ModuleInfo

type ModuleInfo struct {
	Name        string   `json:"name"`
	Description string   `json:"description"`
	Author      []string `json:"author"`
	Usage       string   `json:"usage"`
}

type PipeInfo

type PipeInfo struct {
	Name     string                  `json:"name"`
	Must     map[string]reflect.Kind `json:"must"`
	Optional map[string]reflect.Kind `json:"optional"`
}

Jump to

Keyboard shortcuts

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