Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-p2p-core
Commits
c1c8fd77
Unverified
Commit
c1c8fd77
authored
Jun 19, 2019
by
Raúl Kripalani
Committed by
GitHub
Jun 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
peerstore/protobook: support removing protocols. (#20)
parent
8f222f4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
peerstore/peerstore.go
peerstore/peerstore.go
+1
-0
No files found.
peerstore/peerstore.go
View file @
c1c8fd77
...
...
@@ -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
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment