Skip to content

Commit

Permalink
peerstore/protobook: support removing protocols. (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
raulk committed Jun 19, 2019
1 parent b9f641d commit ebfb757
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/peerstore/peerstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit ebfb757

Please sign in to comment.