2023-02-03 04:56:15 +00:00
|
|
|
package lnd
|
|
|
|
|
2023-02-05 00:11:50 +00:00
|
|
|
import (
|
|
|
|
"github.com/davecgh/go-spew/spew"
|
|
|
|
)
|
2023-02-03 04:56:15 +00:00
|
|
|
|
2023-02-05 00:11:50 +00:00
|
|
|
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)
|
2023-02-04 22:40:45 +00:00
|
|
|
spew.Dump(request)
|
|
|
|
return "x", 1, nil
|
2023-02-03 04:56:15 +00:00
|
|
|
}
|