mirror of
https://github.com/getAlby/lndhub.go.git
synced 2026-01-04 21:45:30 +01:00
12 lines
233 B
Go
12 lines
233 B
Go
package service
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/lightningnetwork/lnd/lnrpc"
|
|
)
|
|
|
|
func (svc *LndhubService) GetInfo(ctx context.Context) (*lnrpc.GetInfoResponse, error) {
|
|
return svc.LndClient.GetInfo(ctx, &lnrpc.GetInfoRequest{})
|
|
}
|