sircd/main.go

18 lines
312 B
Go

package main
import "github.com/sirupsen/logrus"
import "github.com/sneak/sircd/sircd"
import "time"
func main() {
var log = logrus.New()
log.SetLevel(log.DebugLevel)
log.Println("sircd starting up")
s := sircd.NewSircd()
s.SetLogger(log)
go s.Start()
for s.Running {
time.Sleep(1 * time.Second)
}
}