peerstore/protobook: support removing protocols.

This commit is contained in:
Raúl Kripalani 2019-06-19 21:40:14 +01:00
parent 8f222f4b5a
commit 202f030db8

View File

@ -158,5 +158,6 @@ type ProtoBook interface {
GetProtocols(peer.ID) ([]string, error)
AddProtocols(peer.ID, ...string) error
SetProtocols(peer.ID, ...string) error
RemoveProtocols(peer.ID, ...string) error
SupportsProtocols(peer.ID, ...string) ([]string, error)
}