3
0
mirror of https://github.com/ergochat/ergo.git synced 2025-02-16 21:50:39 +01:00
ergo/ergonomadic.go

14 lines
247 B
Go
Raw Normal View History

2012-04-07 11:44:59 -07:00
package main
import (
2012-04-17 22:11:35 -07:00
"flag"
2012-04-07 11:44:59 -07:00
"irc"
)
func main() {
2012-04-17 22:11:35 -07: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 11:44:59 -07:00
}