mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-28 08:47:42 +08:00
cmd/ipfs2: Added explanation comment to ipfsHandler
This commit is contained in:

committed by
Juan Batiz-Benet

parent
4902361fd5
commit
aea2fce987
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user