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
dms3
go-unixfs
Commits
aea2fce9
Commit
aea2fce9
authored
Nov 11, 2014
by
Matt Bell
Committed by
Juan Batiz-Benet
Nov 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/ipfs2: Added explanation comment to ipfsHandler
parent
4902361f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
cmd/ipfs2/ipfsHandler.go
cmd/ipfs2/ipfsHandler.go
+2
-0
No files found.
cmd/ipfs2/ipfsHandler.go
View file @
aea2fce9
...
...
@@ -22,6 +22,8 @@ type ipfs interface {
NewDagReader
(
nd
*
dag
.
Node
)
(
io
.
Reader
,
error
)
}
// ipfsHandler is a HTTP handler that serves IPFS objects (accessible by default at /ipfs/<path>)
// (it serves requests like GET /ipfs/QmVRzPKPzNtSrEzBFm2UZfxmPAgnaLke4DMcerbsGGSaFe/link)
type
ipfsHandler
struct
{
node
*
core
.
IpfsNode
}
...
...
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