3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00
ergo/ergonomadic.go

14 lines
247 B
Go
Raw Normal View History

2012-04-07 20:44:59 +02:00
package main
import (
2012-04-18 07:11:35 +02:00
"flag"
2012-04-07 20:44:59 +02:00
"irc"
)
func main() {
2012-04-18 07:11:35 +02:00
name := flag.String("name", "localhost", "A name for the server")
listen := flag.String("listen", ":6667", "interface to listen on")
flag.Parse()
irc.NewServer(*name).Listen(*listen)
2012-04-07 20:44:59 +02:00
}