commands.go 224 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
package commands

import (
	"io"

	"github.com/jbenet/go-ipfs/core"
	u "github.com/jbenet/go-ipfs/util"
)

var log = u.Logger("commands")

type CmdFunc func(*core.IpfsNode, []string, map[string]interface{}, io.Writer) error