-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathircflu.go
38 lines (31 loc) · 1.03 KB
/
ircflu.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package main
import (
_ "log"
"github.com/muesli/ircflu/app"
"github.com/muesli/ircflu/commands"
_ "github.com/muesli/ircflu/commands/alias"
_ "github.com/muesli/ircflu/commands/auth"
_ "github.com/muesli/ircflu/commands/exec"
_ "github.com/muesli/ircflu/commands/join"
_ "github.com/muesli/ircflu/commands/part"
_ "github.com/muesli/ircflu/commands/send"
"github.com/muesli/ircflu/msgsystem"
_ "github.com/muesli/ircflu/msgsystem/catserver"
_ "github.com/muesli/ircflu/msgsystem/irc"
// _ "github.com/muesli/ircflu/msgsystem/jabber"
_ "github.com/muesli/ircflu/msgsystem/web"
_ "github.com/muesli/ircflu/msgsystem/web/hooks"
_ "github.com/muesli/ircflu/msgsystem/web/hooks/github"
_ "github.com/muesli/ircflu/msgsystem/web/hooks/gitlab"
_ "github.com/muesli/ircflu/msgsystem/web/hooks/jira"
)
func main() {
// Parse command-line args for all registered sub modules
app.Run()
// Initialize commands and messaging sub-systems
commands.StartCommands()
msgsystem.StartSubSystems()
// Keep app alive
ch := make(chan bool)
<-ch
}