func init() { wcg.ConfigureProcess("wcg.ini") // we don't rely on wcg.ini file and configure using default properties. s := server.NewInstance() // s.Init = serverInit // s.Include( ) s.Run() }
func init() { wcg.ConfigureProcess("wcg.ini") // we don't rely on wcg.ini file and configure using default properties. s := server.NewInstance() s.Init = serverInit s.Include( admin.NewApp(), hooks.NewApp(), debug.NewApp(s), users.NewApp(), home.NewApp(), pt.NewApp(), hplinkapi.NewApp(), hplinkadmin.NewApp(), hplinkoperations.NewApp(), ) s.Run() }