rename StartSimple
This commit is contained in:
@ -10,7 +10,7 @@ const (
|
||||
Port = ":3030"
|
||||
)
|
||||
|
||||
func StartSimple(handler func(conn net.Conn)) error {
|
||||
func StartSimpleTCP(handler func(conn net.Conn)) error {
|
||||
l, err := net.Listen("tcp4", Port)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user