mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loop: expose server grpc connection
This commit is contained in:
parent
091c0a86bd
commit
4d558b1418
2 changed files with 9 additions and 0 deletions
|
|
@ -6,12 +6,14 @@ import (
|
|||
"github.com/lightninglabs/aperture/lsat"
|
||||
"github.com/lightninglabs/lndclient"
|
||||
"github.com/lightninglabs/loop/loopdb"
|
||||
"google.golang.org/grpc"
|
||||
)
|
||||
|
||||
// clientConfig contains config items for the swap client.
|
||||
type clientConfig struct {
|
||||
LndServices *lndclient.LndServices
|
||||
Server swapServerClient
|
||||
Conn *grpc.ClientConn
|
||||
Store loopdb.SwapStore
|
||||
LsatStore lsat.Store
|
||||
CreateExpiryTimer func(expiry time.Duration) <-chan time.Time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue