Skip to content

Commit

Permalink
Uncomment default services in cmd main
Browse files Browse the repository at this point in the history
  • Loading branch information
kilgaloon committed Oct 1, 2019
1 parent b23ed4d commit 8164cd3
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions cmd/leprechaun/main.go
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
package main

import (
"fmt"
"runtime"
"github.com/kilgaloon/leprechaun/client"
"github.com/kilgaloon/leprechaun/cron"
"github.com/kilgaloon/leprechaun/daemon"
"github.com/kilgaloon/leprechaun/server"
)

// VERSION of application
const (
VERSION = "1.1.0"
VERSION = "1.4"
RELEASE = "Calimero"
)

func main() {
fmt.Println(runtime.Version())
// daemon.Srv.AddService(&client.Client{Name: "scheduler"})
// daemon.Srv.AddService(&server.Server{Name: "server"})
// daemon.Srv.AddService(&cron.Cron{Name: "cron"})
// daemon.Srv.Run()
daemon.Srv.AddService(&client.Client{Name: "scheduler"})
daemon.Srv.AddService(&server.Server{Name: "server"})
daemon.Srv.AddService(&cron.Cron{Name: "cron"})
daemon.Srv.Run()
}

0 comments on commit 8164cd3

Please sign in to comment.