2018-09-30 19:33:55 +00:00
|
|
|
package libp2pwebrtcdirect
|
|
|
|
|
|
|
|
import (
|
|
|
|
logging "github.com/ipfs/go-log"
|
2019-06-02 10:20:25 +00:00
|
|
|
smux "github.com/libp2p/go-libp2p-core/mux"
|
|
|
|
tpt "github.com/libp2p/go-libp2p-core/transport"
|
2018-09-30 19:33:55 +00:00
|
|
|
ma "github.com/multiformats/go-multiaddr"
|
|
|
|
)
|
|
|
|
|
|
|
|
var log = logging.Logger("webrtcdirect-tpt")
|
|
|
|
|
|
|
|
var webrtcma, _ = ma.NewMultiaddr("/p2p-webrtc-direct")
|
2019-01-22 11:02:08 +00:00
|
|
|
var httpma, _ = ma.NewMultiaddr("/http")
|
2018-09-30 19:33:55 +00:00
|
|
|
|
2019-01-22 11:02:08 +00:00
|
|
|
var _ tpt.Transport = &Transport{}
|
2019-06-02 10:20:25 +00:00
|
|
|
var _ tpt.CapableConn = &Conn{}
|
2019-01-22 11:02:08 +00:00
|
|
|
var _ tpt.Listener = &Listener{}
|
2018-09-30 19:33:55 +00:00
|
|
|
|
2019-06-02 10:20:25 +00:00
|
|
|
var _ smux.MuxedStream = &Stream{}
|