-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.go
41 lines (34 loc) · 981 Bytes
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package main
var STANDARD_OUTPUT = false
const ALL string = "all"
const NOT string = "not"
const ANY string = "any"
const ONE string = "one"
const REQUIRES string = "requires"
const PROVIDES string = "provides"
const ROOT featureName = "root"
const PORT = "60124"
type artifactName string
type featureName string
type tagName string
type attributeName string
type hash string
type attributeValue any
type declaration string
type Requirements struct {
ALL set[declaration]
NOT set[declaration]
ANY *[]set[declaration]
ONE *[]set[declaration]
}
var VARIABLESIMBLE rune = '$'
var GLOBALSIMBLE rune = '@'
var VERBOSEVALIDATION bool
//API CALLS
const API_LOAD_JSON = "/loadjson"
const API_UPDATE_ATTRIBUTE = "/updateAttribute"
const API_SWITCH_ACTIVATION = "/activation"
const API_VALIDATE = "/validation"
const API_SWITCH_VERBOSE_VALIDATION = "/verboseValidationSwitch"
const API_EXPORT_CONFIGURATION = "/exporting"
const API_JSON_REQUEST = "/jsonrequest"