loop/config.go

19 lines
446 B
Go
Raw Normal View History

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