-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtypes.go
63 lines (53 loc) · 1.37 KB
/
types.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
// Copyright (c) 2019, Paessler AG.
// All Rights Reserved
package prtg
type UnitType string
const (
BytesBandwidth UnitType = "BytesBandwidth"
BytesDisk UnitType = "BytesDisk"
Temperature UnitType = "Temperature"
Percent UnitType = "Percent"
TimeResponse UnitType = "TimeResponse"
TimeSeconds UnitType = "TimeSeconds"
Custom UnitType = "Custom"
Count UnitType = "Count"
CPU UnitType = "CPU"
BytesFile UnitType = "BytesFile"
SpeedDisk UnitType = "SpeedDisk"
SpeedNet UnitType = "SpeedNet"
TimeHours UnitType = "TimeHours"
)
type SizeType string
const (
One SizeType = "One"
Kilo SizeType = "Kilo"
Mega SizeType = "Mega"
Giga SizeType = "Giga"
Tera SizeType = "Tera"
Byte SizeType = "Byte"
KiloByte SizeType = "KiloByte"
MegaByte SizeType = "MegaByte"
GigaByte SizeType = "GigaByte"
TeraByte SizeType = "TeraByte"
)
type SpeedType string
const (
Bit SpeedType = "Bit"
KiloBit SpeedType = "KiloBit"
MegaBit SpeedType = "MegaBit"
GigaBit SpeedType = "GigaBit"
TeraBit SpeedType = "TeraBit"
)
type TimeType string
const (
Second TimeType = "Second"
Minute TimeType = "Minute"
Hour TimeType = "Hour"
Day TimeType = "Day"
)
type DecimalModeType string
// Options for Decimalmode
const (
OptionAuto DecimalModeType = "Auto"
OptionAll DecimalModeType = "All"
)