func NewNodeCmd(subCmd NodeSubCmd, target string, connectSubCmd *string) *NodeCmd {
	return &NodeCmd{
		SubCmd:        subCmd,
		Target:        target,
		ConnectSubCmd: connectSubCmd,
	}
}
NewNodeCmd returns a new instance which can be used to issue a `node`
JSON-RPC command.

The parameters which are pointers indicate they are optional.  Passing nil
for optional parameters will use the default value.
package btcjson
type NodeSubCmd string
const (
	NConnect NodeSubCmd = "connect"
	NRemove NodeSubCmd = "remove"
	NDisconnect NodeSubCmd = "disconnect"
)
type NodeCmd struct {
	SubCmd        NodeSubCmd `jsonrpcusage:"\"connect|remove|disconnect\""`
	Target        string
	ConnectSubCmd *string `jsonrpcusage:"\"perm|temp\""`
}