-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdata.go
58 lines (50 loc) · 882 Bytes
/
data.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
package main
type Json struct {
Config Config
Target []Target
}
type Config struct {
Is_first bool
Directory_work string
Directory_result string
Channel_use string
Channel Channel
}
type Target struct {
Url string
Filename string
Dynamic Dynmic
Headers map[string]string
}
type Channel struct {
Slack string
Mail Email
}
type Email struct {
Tls bool
From string
To string
Host string
Port int
Email string
Password string
}
type Dynmic struct {
Status bool
DynamicLine []int
}
type arrayFlags []string
var (
configFileFlag string
configFile string
flagRepeat string
Run string
add string
flagNoColor bool
flagDynmaic bool
flagTimeout int
Thread int
data Json
Headers arrayFlags
Header map[string]string
)