go-libp2p-webrtc-direct/webrtcdirect.go

20 lines
472 B
Go
Raw Normal View History

2018-09-30 19:33:55 +00:00
package libp2pwebrtcdirect
import (
logging "github.com/ipfs/go-log"
tpt "github.com/libp2p/go-libp2p-transport"
smux "github.com/libp2p/go-stream-muxer"
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")
var httpma, _ = ma.NewMultiaddr("/http")
2018-09-30 19:33:55 +00:00
var _ tpt.Transport = &Transport{}
var _ tpt.Conn = &Conn{}
var _ tpt.Listener = &Listener{}
2018-09-30 19:33:55 +00:00
var _ smux.Stream = &Stream{}