~humaid/workflow-engine unlisted

ref: aebc1ec6292110dc83e4fca12d6d1f9b6446e20d workflow-engine/admin_forms.go -rw-r--r-- 555 bytes
aebc1ec6 — Humaid AlQassimi Add basic errors structures/page 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package engine

type newServiceForm struct {
	ServiceID   string `form:"id" binding:"Required"`
	Description string `form:"desc"`
	Category    string `form:"category"`
}

type newChannelForm struct {
	ChannelID   string `form:"id" binding:"Required"`
	Description string `form:"desc"`
	Initiators  string `form:"inits"`
}

type newStepForm struct {
	StepID  string `form:"id" binding:"Required"`
	Status  string `form:"desc"`
	Page    string `form:"page"`
	PostTo  string `form:"post"`
	DataIn  string `form:"data-in"`
	DataOut string `form:"data-out"`
}