Skip to content

Commit

Permalink
chore: renamed GetRTO to RTO to match style rules
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfendale committed Jul 2, 2024
1 parent 9997fb6 commit 0502cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timeout.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func (t *Timeout) SetRTO(timeout time.Duration) {
}

// GetRTO gets the timeout field of this instance
func (t *Timeout) GetRTO() time.Duration {
func (t *Timeout) RTO() time.Duration {
return t.timeout
}

Expand Down

0 comments on commit 0502cc6

Please sign in to comment.