rename StartSimple

This commit is contained in:
2023-09-15 14:20:51 -07:00
parent ef19fa588f
commit 0677847105
11 changed files with 48 additions and 10 deletions

View File

@ -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