netbird/client/internal/peer
Zoltan Papp 337d3edcc4
Use the conn state of peer on proper way (#717)
The ConnStatus is a custom type based on iota
like an enum. The problem was nowhere used to the
benefits of this implementation. All ConnStatus
instances has been compared with strings. I
suppose the reason to do it to avoid a circle
dependency. In this commit the separated status
package has been moved to peer package.

Remove unused, exported functions from engine
2023-03-03 19:49:18 +01:00
..
conn_status_test.go Use the conn state of peer on proper way (#717) 2023-03-03 19:49:18 +01:00
conn_status.go Use the conn state of peer on proper way (#717) 2023-03-03 19:49:18 +01:00
conn_test.go Use the conn state of peer on proper way (#717) 2023-03-03 19:49:18 +01:00
conn.go Use the conn state of peer on proper way (#717) 2023-03-03 19:49:18 +01:00
error_test.go Test conn (#199) 2022-01-21 13:52:19 +01:00
error.go Test conn (#199) 2022-01-21 13:52:19 +01:00
status_test.go Use the conn state of peer on proper way (#717) 2023-03-03 19:49:18 +01:00
status.go Use the conn state of peer on proper way (#717) 2023-03-03 19:49:18 +01:00