Versions in this module Expand all Collapse all v1 v1.1.2 Nov 16, 2024 Changes in this version + type Connection interface + Address func() *net.TCPAddr + Disconnect func() + IsConnected func() bool + IsOutbound func() bool + SetOnDisconnectedHandler func(onDisconnectedHandler OnDisconnectedHandler) + SetOnInvalidMessageHandler func(onInvalidMessageHandler OnInvalidMessageHandler) + Start func(router *router.Router) + type OnConnectedHandler func(connection Connection) error + type OnDisconnectedHandler func() + type OnInvalidMessageHandler func(err error) + type P2PServer interface + Connect func(address string) (Connection, error) + type Server interface + SetOnConnectedHandler func(onConnectedHandler OnConnectedHandler) + Start func() error + Stop func() error Other modules containing this package github.com/Nexell-AI-Network/nexelliad/v2