diff options
| author | Will Hawkins <[email protected]> | 2022-03-18 21:20:30 -0400 |
|---|---|---|
| committer | Will Hawkins <[email protected]> | 2022-03-18 21:20:30 -0400 |
| commit | 6e5711a1136ae5ed2e0533f1a5d39bb71fb668b5 (patch) | |
| tree | 87c09b643d13bfbe9c68d3336a87cd04d6856ab6 /lbc/lbc.go | |
| parent | 8047ec2a26a1c3120b8104318e3c573ac7df9938 (diff) | |
Make sure that we format with short lines.
Diffstat (limited to 'lbc/lbc.go')
| -rw-r--r-- | lbc/lbc.go | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -72,13 +72,18 @@ func (cr *countingReader) Read(p []byte) (n int, err error) { return } -func (lbd *LoadBearingConnectionDownload) Start(ctx context.Context, debug bool) bool { +func (lbd *LoadBearingConnectionDownload) Start( + ctx context.Context, + debug bool, +) bool { lbd.downloaded = 0 transport := http2.Transport{} if !utilities.IsInterfaceNil(lbd.KeyLogger) { if debug { - fmt.Printf("Using an SSL Key Logger for this load-bearing download.\n") + fmt.Printf( + "Using an SSL Key Logger for this load-bearing download.\n", + ) } transport.TLSClientConfig = &tls.Config{ KeyLogWriter: lbd.KeyLogger, @@ -171,13 +176,18 @@ func (lbu *LoadBearingConnectionUpload) doUpload(ctx context.Context) bool { return true } -func (lbu *LoadBearingConnectionUpload) Start(ctx context.Context, debug bool) bool { +func (lbu *LoadBearingConnectionUpload) Start( + ctx context.Context, + debug bool, +) bool { lbu.uploaded = 0 transport := http2.Transport{} if !utilities.IsInterfaceNil(lbu.KeyLogger) { if debug { - fmt.Printf("Using an SSL Key Logger for this load-bearing upload.\n") + fmt.Printf( + "Using an SSL Key Logger for this load-bearing upload.\n", + ) } transport.TLSClientConfig = &tls.Config{ KeyLogWriter: lbu.KeyLogger, |
