-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.go
More file actions
65 lines (57 loc) · 1016 Bytes
/
types.go
File metadata and controls
65 lines (57 loc) · 1016 Bytes
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
package main
type CompInvConfig struct {
HostName string
Database string
Port int
UID string
PWD string
Heartbeat int
InventoryTable string
ServiceTable string
UptimeTable string
TargetSchema string
StartRest int
RestPort int
RestHost string
StartChecks int
DashPage string
}
type restHandler struct{}
type CompInvRow struct {
ItemNO int
Serial string
Model string
Type string
Owner string
}
type ServInvRow struct {
ServiceID int
Address string
Port string
Protocol string
SDesc string
Serial string
Latency float32
}
type ServTimeRow struct {
Entry string
Latency float32
Status rune
ServiceID int
}
type CompInvResp struct {
Devices []CompInvRow
Code int
Message string
}
type ServInvResp struct {
Service ServInvRow
Services []ServInvRow
Code int
Message string
}
type ServTimeResp struct {
Entries []ServTimeRow
Code int
Message string
}