2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-13 13:10:30 +00:00
loop/config.go

19 lines
446 B
Go
Raw Normal View History

package loop
2019-03-06 20:13:50 +00:00
import (
"time"
"github.com/lightninglabs/lndclient"
"github.com/lightninglabs/loop/loopdb"
2019-11-15 12:57:03 +00:00
"github.com/lightninglabs/loop/lsat"
2019-03-06 20:13:50 +00:00
)
// clientConfig contains config items for the swap client.
type clientConfig struct {
LndServices *lndclient.LndServices
Server swapServerClient
Store loopdb.SwapStore
2019-11-15 12:57:03 +00:00
LsatStore lsat.Store
2019-03-06 20:13:50 +00:00
CreateExpiryTimer func(expiry time.Duration) <-chan time.Time
}