Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
aldas committed Jul 27, 2023
1 parent 1e0c40a commit 95d0513
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ const (

var (
// ErrServerClosed is returned when server context is ended (by shutdown)
ErrServerClosed = errors.New("modbus server closed")
ErrServerClosed = errors.New("modbus server closed")
// ErrServerIdleTimeout is returned when server closes connection that has been idle too long
ErrServerIdleTimeout = errors.New("modbus server closed idle connection")
)

Expand Down

0 comments on commit 95d0513

Please sign in to comment.