Commit ea3d820 1 parent 59dc591 commit ea3d820 Copy full SHA for ea3d820
File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 5
5
"io"
6
6
)
7
7
8
- type convertMode int
8
+ type convertMode int8
9
9
10
10
const (
11
11
convertModeToCRLF convertMode = iota
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import (
14
14
)
15
15
16
16
// HASHAlgo is the enumerable that represents the supported HASH algorithms
17
- type HASHAlgo int
17
+ type HASHAlgo int8
18
18
19
19
// Supported hash algorithms
20
20
const (
@@ -26,7 +26,7 @@ const (
26
26
)
27
27
28
28
// TransferType is the enumerable that represents the supported transfer types
29
- type TransferType int
29
+ type TransferType int8
30
30
31
31
// Supported transfer type
32
32
const (
@@ -35,7 +35,7 @@ const (
35
35
)
36
36
37
37
// DataChannel is the enumerable that represents the data channel (active or passive)
38
- type DataChannel int
38
+ type DataChannel int8
39
39
40
40
// Supported data channel types
41
41
const (
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ type PortRange struct {
208
208
type PublicIPResolver func (ClientContext ) (string , error )
209
209
210
210
// TLSRequirement is the enumerable that represents the supported TLS mode
211
- type TLSRequirement int
211
+ type TLSRequirement int8
212
212
213
213
// TLS modes
214
214
const (
@@ -219,7 +219,7 @@ const (
219
219
220
220
// DataConnectionRequirement is the enumerable that represents the supported
221
221
// protection mode for data channels
222
- type DataConnectionRequirement int
222
+ type DataConnectionRequirement int8
223
223
224
224
// Supported data connection requirements
225
225
const (
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import (
17
17
"github.com/spf13/afero"
18
18
)
19
19
20
- type tlsVerificationReply int
20
+ type tlsVerificationReply int8
21
21
22
22
const (
23
23
// tls certificate is ok but a password is required too
You can’t perform that action at this time.
0 commit comments