transport.go 566 Bytes
Newer Older
Marten Seemann's avatar
Marten Seemann committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package libp2pquic

import (
	tpt "github.com/libp2p/go-libp2p-transport"
	ma "github.com/multiformats/go-multiaddr"
)

type QuicTransport struct{}

func NewQuicTransport() *QuicTransport {
	return &QuicTransport{}
}

func (t *QuicTransport) Dialer(laddr ma.Multiaddr, opts ...tpt.DialOpt) (tpt.Dialer, error) {
	panic("not implemented")
}

func (t *QuicTransport) Listen(laddr ma.Multiaddr) (tpt.Listener, error) {
	panic("not implemented")
}

func (t *QuicTransport) Matches(ma.Multiaddr) bool {
	panic("not implemented")
}

var _ tpt.Transport = &QuicTransport{}