Browse Source

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

pull/1683/head
Raúl Kripalani 5 years ago
committed by GitHub
parent
commit
ebfb757744
  1. 1
      core/peerstore/peerstore.go

1
core/peerstore/peerstore.go

@ -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)
}

Loading…
Cancel
Save