Unverified Commit c1c8fd77 authored by Raúl Kripalani's avatar Raúl Kripalani Committed by GitHub

peerstore/protobook: support removing protocols. (#20)

parent 8f222f4b
......@@ -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)
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment