Files
warp/sender.go
zeekay 79cd71d843 refactor: use p2p package for Error, Sender, SendConfig types
- Add dependency on github.com/luxfi/p2p v1.4.4
- warp.Error is now an alias for p2p.Error
- warp.Sender is now an alias for p2p.Sender
- warp.SendConfig is now an alias for p2p.SendConfig
- Re-export standard errors from p2p (ErrUnexpected, etc)
- Update Handler to use p2p.Error in signatures
2025-12-12 13:13:16 -08:00

13 lines
354 B
Go

// Copyright (C) 2019-2025, Lux Industries Inc All rights reserved.
// See the file LICENSE for licensing terms.
package warp
import "github.com/luxfi/p2p"
// SendConfig is an alias for p2p.SendConfig for backward compatibility
type SendConfig = p2p.SendConfig
// Sender is an alias for p2p.Sender for backward compatibility
type Sender = p2p.Sender