yats.git

ref: f79a9d09c451653ff27fb34afb5b0c71dc758a32

server/yats.go


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
package main

import (
	"os"
	"yats-server/config"
	"yats-server/db"
)

func main() {
	configuration := config.GetConfig(os.Getenv("HOME") + "/.yats.json")
	db.Session = db.InitializeDb(configuration)

	go MaintenanceThread(configuration)

	RestService(configuration)
}