well-goknown/lnd/lnd.go
2023-02-04 22:39:01 -05:00

19 lines
365 B
Go

package lnd
import (
"time"
"github.com/davecgh/go-spew/spew"
)
func Request(rKey string, request []byte, exp time.Duration) (string, 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(exp)
spew.Dump(request)
return "x", nil
}