Documentation
¶
Index ¶
- type UtpSocket
- func (s *UtpSocket) Accept() (tpt.Conn, error)
- func (t *UtpSocket) Addr() net.Addr
- func (t *UtpSocket) Close() error
- func (s *UtpSocket) Dial(raddr ma.Multiaddr) (tpt.Conn, error)
- func (s *UtpSocket) DialContext(ctx context.Context, raddr ma.Multiaddr) (tpt.Conn, error)
- func (s *UtpSocket) Matches(a ma.Multiaddr) bool
- func (t *UtpSocket) Multiaddr() ma.Multiaddr
- type UtpTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UtpSocket ¶
type UtpSocket struct {
// contains filtered or unexported fields
}
func (*UtpSocket) DialContext ¶
type UtpTransport ¶
type UtpTransport struct {
// contains filtered or unexported fields
}
func NewUtpTransport ¶
func NewUtpTransport() *UtpTransport
Click to show internal directories.
Click to hide internal directories.