Commit aea2fce9 authored by Matt Bell's avatar Matt Bell Committed by Juan Batiz-Benet

cmd/ipfs2: Added explanation comment to ipfsHandler

parent 4902361f
...@@ -22,6 +22,8 @@ type ipfs interface { ...@@ -22,6 +22,8 @@ type ipfs interface {
NewDagReader(nd *dag.Node) (io.Reader, error) 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 { type ipfsHandler struct {
node *core.IpfsNode node *core.IpfsNode
} }
......
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