mirror of
https://github.com/safing/portbase
synced 2025-09-06 20:50:07 +00:00
Update option.go
Improve naming
This commit is contained in:
parent
c992b8ea54
commit
52ba3f0a15
1 changed files with 3 additions and 4 deletions
|
@ -108,11 +108,10 @@ const (
|
||||||
// requirement. The type of RequiresAnnotation is []ValueRequirement
|
// requirement. The type of RequiresAnnotation is []ValueRequirement
|
||||||
// or ValueRequirement.
|
// or ValueRequirement.
|
||||||
RequiresAnnotation = "safing/portbase:config:requires"
|
RequiresAnnotation = "safing/portbase:config:requires"
|
||||||
|
// RequiresFeaturePlan can be used to mark a setting as only available
|
||||||
// SettingRequiresFeaturePlan can be used to mark a setting as only available
|
// when the user has a certain feature ID in the subscription plan.
|
||||||
// when the user has a certain feature ID activated by the subscription plan.
|
|
||||||
// The type is []string or string.
|
// The type is []string or string.
|
||||||
SettingRequiresFeaturePlan = "safing/portmaster:ui:config:requires-feature"
|
RequiresFeatureID = "safing/portmaster:ui:config:requires-feature"
|
||||||
)
|
)
|
||||||
|
|
||||||
// QuickSettingsAction defines the action of a quick setting.
|
// QuickSettingsAction defines the action of a quick setting.
|
||||||
|
|
Loading…
Add table
Reference in a new issue