Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigField ¶
type ConfigField struct { Type ConfigFieldType `json:"type"` Name string `json:"name"` Options []ConfigFieldSelectOption `json:"options"` Default string `json:"default"` }
ConfigField represents a field in an extension's configuration. The fields are defined in the manifest file.
type ConfigFieldSelectOption ¶
type ConfigFieldType ¶
type ConfigFieldType string
const ( ConfigFieldTypeText ConfigFieldType = "text" ConfigFieldTypeSwitch ConfigFieldType = "switch" ConfigFieldTypeSelect ConfigFieldType = "select" ConfigFieldTypeNumber ConfigFieldType = "number" )
Click to show internal directories.
Click to hide internal directories.