mirror of https://github.com/lightninglabs/loop
cmd+loopd: new cmd/loopd main method replacing the one now in ./loopd
This allows loopd to be used as a library by importing it and calling Start.pull/115/head
parent
644b5b16f7
commit
704bfff8f6
@ -0,0 +1,14 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/lightninglabs/loop/loopd"
|
||||
)
|
||||
|
||||
func main() {
|
||||
err := loopd.Start()
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue