well-goknown/lnd/lnd.go

16 lines
329 B
Go

package lnd
import (
"github.com/davecgh/go-spew/spew"
)
func Request(rKey string, request []byte) (string, int, error) {
//redis, err := redis.New("localhost:6379", "", redis.LndDb)
//if err != nil {
// return "", 0, errors.New("Failed to connect to redis")
//}
spew.Dump(rKey)
spew.Dump(request)
return "x", 1, nil
}