Documentation ¶
Index ¶
- func SetNetNotifiee()
- type NetNotifiee
- func (noti *NetNotifiee) ClosedStream(net network.Network, stream network.Stream)
- func (noti *NetNotifiee) Connected(net network.Network, conn network.Conn)
- func (noti *NetNotifiee) Disconnected(net network.Network, conn network.Conn)
- func (noti *NetNotifiee) Listen(net network.Network, addr ma.Multiaddr)
- func (noti *NetNotifiee) ListenClose(net network.Network, addr ma.Multiaddr)
- func (noti *NetNotifiee) OpenedStream(net network.Network, stream network.Stream)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetNetNotifiee ¶
func SetNetNotifiee()
Types ¶
type NetNotifiee ¶
type NetNotifiee struct { }
func (*NetNotifiee) ClosedStream ¶
func (noti *NetNotifiee) ClosedStream(net network.Network, stream network.Stream)
func (*NetNotifiee) Connected ¶
func (noti *NetNotifiee) Connected(net network.Network, conn network.Conn)
func (*NetNotifiee) Disconnected ¶
func (noti *NetNotifiee) Disconnected(net network.Network, conn network.Conn)
func (*NetNotifiee) Listen ¶
func (noti *NetNotifiee) Listen(net network.Network, addr ma.Multiaddr)
func (*NetNotifiee) ListenClose ¶
func (noti *NetNotifiee) ListenClose(net network.Network, addr ma.Multiaddr)
func (*NetNotifiee) OpenedStream ¶
func (noti *NetNotifiee) OpenedStream(net network.Network, stream network.Stream)
Click to show internal directories.
Click to hide internal directories.