type github.com/libp2p/go-libp2p/core/protocol.Router (interface)

Method Implmentations

AddHandler(protocol ID, handler HandlerFunc) Switch.AddHandler *github.com/multiformats/go-multistream.MultistreamMuxer[ID].AddHandler
AddHandlerWithFunc(protocol ID, match func(ID) bool, handler HandlerFunc) Switch.AddHandlerWithFunc *github.com/multiformats/go-multistream.MultistreamMuxer[ID].AddHandlerWithFunc
Protocols() []ID Switch.Protocols *github.com/multiformats/go-multistream.MultistreamMuxer[ID].Protocols
RemoveHandler(protocol ID) Switch.RemoveHandler *github.com/multiformats/go-multistream.MultistreamMuxer[ID].RemoveHandler