Documentation ¶
Overview ¶
You can use the "packr clean" command to clean up this, and any other packr generated files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunWebServer ¶
func RunWebServer(config Configuration) error
Types ¶
type ActionType ¶
type ActionType string
const ( Next ActionType = "next" Back ActionType = "back" Cancel ActionType = "cancel" Submit ActionType = "submit" )
type Button ¶
type Button struct { Label string `json:"label,omitempty"` Action ActionType `json:"action,omitempty"` }
type Configuration ¶
type Field ¶
type Field struct { Label string `json:"label,omitempty"` Default string `json:"default,omitempty"` Description string `json:"description,omitempty"` Type string `json:"type,omitempty"` Required bool `json:"required,omitempty"` JSONPath string `json:"jsonPath,omitempty"` Min *int `json:"min,omitempty"` Max *int `json:"max,omitempty"` OriginalJSONPath string `json:"originalJsonPath,omitempty"` Visible bool `json:"visible,omitempty"` Checked bool `json:"checked,omitempty"` DisplayWhen string `json:"displayWhen,omitempty"` Fields []Field `json:"fields,omitempty"` Options []Option `json:"options,omitempty"` }
type GoTemplate ¶
Click to show internal directories.
Click to hide internal directories.