mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loop: extract code from client package into new loop primary package
This commit is contained in:
parent
f552bc06b1
commit
908d82acdb
21 changed files with 126 additions and 147 deletions
15
config.go
Normal file
15
config.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package loop
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/lightninglabs/loop/lndclient"
|
||||
)
|
||||
|
||||
// clientConfig contains config items for the swap client.
|
||||
type clientConfig struct {
|
||||
LndServices *lndclient.LndServices
|
||||
Server swapServerClient
|
||||
Store swapClientStore
|
||||
CreateExpiryTimer func(expiry time.Duration) <-chan time.Time
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue