1 // Package turbotunnel is facilities for embedding packet-based reliability
2 // protocols inside other protocols.
4 // https://github.com/net4people/bbs/issues/9
11 var errClosedPacketConn
= errors
.New("operation on closed connection")
12 var errNotImplemented
= errors
.New("not implemented")
14 // DummyAddr is a placeholder net.Addr, for when a programming interface
15 // requires a net.Addr but there is none relevant. All DummyAddrs compare equal
17 type DummyAddr
struct{}
19 func (addr DummyAddr
) Network() string { return "dummy" }
20 func (addr DummyAddr
) String() string { return "dummy" }