2017-08-11 00:25:42 +02:00
|
|
|
package main
|
|
|
|
|
2019-06-05 17:03:55 +02:00
|
|
|
import (
|
|
|
|
"math/rand"
|
|
|
|
"time"
|
|
|
|
|
|
|
|
"github.com/lbryio/reflector.go/cmd"
|
2020-03-22 06:12:55 +01:00
|
|
|
|
|
|
|
"github.com/google/gops/agent"
|
|
|
|
log "github.com/sirupsen/logrus"
|
2019-06-05 17:03:55 +02:00
|
|
|
)
|
2017-08-11 00:25:42 +02:00
|
|
|
|
|
|
|
func main() {
|
2020-03-22 06:12:55 +01:00
|
|
|
if err := agent.Listen(agent.Options{}); err != nil {
|
|
|
|
log.Fatal(err)
|
|
|
|
}
|
2019-06-05 17:03:55 +02:00
|
|
|
rand.Seed(time.Now().UnixNano())
|
2018-02-02 22:48:57 +01:00
|
|
|
cmd.Execute()
|
2018-01-29 20:37:26 +01:00
|
|
|
}
|