renamed tcp_addr_str_class to TcpAddrStrClass

This commit is contained in:
2025-01-08 17:32:40 +09:00
parent 13faadabcd
commit 26c40ea70e
5 changed files with 14 additions and 14 deletions

View File

@ -43,7 +43,7 @@ type Service interface {
WriteLog(id string, level LogLevel, fmtstr string, args ...interface{})
}
func tcp_addr_str_class(addr string) string {
func TcpAddrStrClass(addr string) string {
// the string is supposed to be addr:port
if len(addr) > 0 {