mirror of
https://github.com/netbirdio/netbird.git
synced 2025-03-01 00:11:36 +01:00
Error handling
This commit is contained in:
parent
c0efce6556
commit
3fcdb51376
@ -51,15 +51,15 @@ func (c *Conn) LocalAddr() net.Addr {
|
||||
}
|
||||
|
||||
func (c *Conn) SetReadDeadline(t time.Time) error {
|
||||
return nil
|
||||
return fmt.Errorf("not implemented")
|
||||
}
|
||||
|
||||
func (c *Conn) SetWriteDeadline(t time.Time) error {
|
||||
return nil
|
||||
return fmt.Errorf("not implemented")
|
||||
}
|
||||
|
||||
func (c *Conn) SetDeadline(t time.Time) error {
|
||||
return nil
|
||||
return fmt.Errorf("not implemented")
|
||||
}
|
||||
|
||||
func (c *Conn) Close() error {
|
||||
|
@ -74,18 +74,15 @@ func (c *Conn) RemoteAddr() net.Addr {
|
||||
}
|
||||
|
||||
func (c *Conn) SetReadDeadline(t time.Time) error {
|
||||
// todo: implement me
|
||||
return nil
|
||||
return fmt.Errorf("not implemented")
|
||||
}
|
||||
|
||||
func (c *Conn) SetWriteDeadline(t time.Time) error {
|
||||
// todo: implement me
|
||||
return nil
|
||||
return fmt.Errorf("not implemented")
|
||||
}
|
||||
|
||||
func (c *Conn) SetDeadline(t time.Time) error {
|
||||
// todo: implement me
|
||||
return nil
|
||||
return fmt.Errorf("not implemented")
|
||||
}
|
||||
|
||||
func (c *Conn) Close() error {
|
||||
|
Loading…
Reference in New Issue
Block a user