1
0
Fork 0
This commit is contained in:
Gregory Eremin 2015-02-12 02:49:32 +07:00
parent db1829f9ed
commit ac269889ed
1 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,8 @@ package core
import (
"encoding/json"
"log"
"os"
"github.com/localhots/confection"
)
@ -20,6 +22,10 @@ type (
)
func (c *Config) Init() {
log.SetOutput(os.Stderr)
log.SetFlags(log.Ltime)
log.SetPrefix("YEAST @ ")
c.conf = confection.New(*c, c.decoder)
go c.conf.StartServer()
c.conf.RequireConfig()