listener.go 467 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
27
28
package libp2pquic

import (
	"net"

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

type listener struct{}

func (l *listener) Accept() (tpt.Conn, error) {
	panic("not implemented")
}

func (l *listener) Close() error {
	panic("not implemented")
}

func (l *listener) Addr() net.Addr {
	panic("not implemented")
}

func (l *listener) Multiaddr() ma.Multiaddr {
	panic("not implemented")
}

var _ tpt.Listener = &listener{}