/
constants.go
65 lines (54 loc) · 2 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*
* MALTEGO - Go package that provides datastructures for interacting with the Maltego graphical link analysis tool.
* Copyright (c) 2021 Philipp Mieden <dreadl0ck [at] protonmail [dot] ch>
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
package maltego
// constants
const (
BookMarkColorNone = "-1"
BookMarkColorBlue = "0"
BookMarkColorGreen = "1"
BookMarkColorYellow = "2"
BookMarkColorOrange = "3"
BookMarkColorRed = "4"
LinkStyleNormal = "0"
LinkStyleDashed = "1"
LinkStyleDotted = "2"
LinkStyleDashdot = "3"
UIMessageFatal = "FatalError"
UIMessagePartialError = "PartialError"
UIMessageInform = "Inform"
UIMessageDebug = "Debug"
// Strict is used for enabling strict property matching
Strict = "strict"
// Loose enables loose property matching
Loose = "loose"
)
// LinkDirection determines the direction of node interconnections (links).
type LinkDirection string
const (
// OutputToInput direction for maltego links
OutputToInput LinkDirection = "output-to-input"
// InputToOutput direction for maltego links
InputToOutput LinkDirection = "input-to-output"
// bidirectional direction for maltego links
bidirectional LinkDirection = "bidirectional"
)
// properties
const (
LinkColor = "link#maltego.link.color"
LinkStyle = "link#maltego.link.style"
LinkThickness = "link#maltego.link.thickness"
Label = "link#maltego.link.label"
PropertyLinkDirection = "link#maltego.link.direction"
Bookmark = "bookmark#"
Notes = "notes#"
)