tunasync/tests/workerMain.go
2016-04-30 16:42:31 +08:00

18 lines
232 B
Go

package main
import (
"fmt"
"github.com/tuna/tunasync/worker"
)
func main() {
cfg, err := worker.LoadConfig("worker.conf")
if err != nil {
fmt.Println(err.Error())
return
}
m := worker.GetTUNASyncWorker(cfg)
m.Run()
}