mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 11:59:40 +01:00
14 lines
247 B
Go
14 lines
247 B
Go
package main
|
|
|
|
import (
|
|
"flag"
|
|
"irc"
|
|
)
|
|
|
|
func main() {
|
|
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)
|
|
}
|