Skip to content

Commit 9b20c40

Browse files
committed
formatting
1 parent 215f424 commit 9b20c40

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

connection.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,21 @@ const (
3737
)
3838

3939
type heartbeatDuration struct {
40-
value time.Duration
40+
value time.Duration
4141
hasValue bool
4242
}
4343

4444
func newHeartbeatDuration(v time.Duration) heartbeatDuration {
4545
return heartbeatDuration{
46-
value: v,
46+
value: v,
4747
hasValue: true,
4848
}
4949
}
5050

5151
func newHeartbeatDurationFromSeconds(s int) heartbeatDuration {
5252
v := time.Duration(s) * time.Second
5353
return heartbeatDuration{
54-
value: v,
54+
value: v,
5555
hasValue: true,
5656
}
5757
}
@@ -69,8 +69,8 @@ type Config struct {
6969
// bindings on the server. Dial sets this to the path parsed from the URL.
7070
Vhost string
7171

72-
ChannelMax uint16 // 0 max channels means 2^16 - 1
73-
FrameSize int // 0 max bytes means unlimited
72+
ChannelMax uint16 // 0 max channels means 2^16 - 1
73+
FrameSize int // 0 max bytes means unlimited
7474
Heartbeat heartbeatDuration // less than 1s uses the server's interval
7575

7676
// TLSClientConfig specifies the client configuration of the TLS connection

0 commit comments

Comments
 (0)