@cryptotaxi247 / kubo / commits / aea2fce98

cmd/ipfs2: Added explanation comment to ipfsHandler

Matt Bell committed Nov 11, 2014 at 16:26 UTC aea2fce9879c78e7f674b98075fbe4eee62e55d7
1 file changed +2
cmd/ipfs2/ipfsHandler.go
+2
@@ -22,6 +22,8 @@ type ipfs interface {
22 NewDagReader(nd *dag.Node) (io.Reader, error)
23 }
24
25 +// ipfsHandler is a HTTP handler that serves IPFS objects (accessible by default at /ipfs/<path>)
26 +// (it serves requests like GET /ipfs/QmVRzPKPzNtSrEzBFm2UZfxmPAgnaLke4DMcerbsGGSaFe/link)
27 type ipfsHandler struct {
28 node *core.IpfsNode
29 }