handler

package
v0.0.0-...-d8aa1a2 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HandlerLogger logr.Logger

Functions

func DeployHandler

func DeployHandler(w http.ResponseWriter, r *http.Request)

Deployment event triggered by the front-end deployment button

func LoadHandler

func LoadHandler(w http.ResponseWriter, r *http.Request)

func SaveHandler

func SaveHandler(w http.ResponseWriter, r *http.Request)

SaveHandler save xml to minio minio bucket name is organization name xml file dir is '{projectName}/bpmn.xml'

Types

type LoadRequest

type LoadRequest struct {
	ProjectName string `json:"project_name"`
}

type SaveRequest

type SaveRequest struct {
	OrgName     string `json:"org_name"`
	ProjectName string `json:"project_name"`
	XmlStr      string `json:"xml"`
}

type SaveResponse

type SaveResponse struct {
	Code int    `json:"code"`
	Msg  string `json:"msg"`
}

Jump to

Keyboard shortcuts

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