This commit is contained in:
PB
2022-12-01 17:37:01 +01:00
parent 3e2d5b703d
commit a6b4e5592a
11 changed files with 32 additions and 356 deletions

View File

@@ -1,14 +0,0 @@
package fluentd
import (
"strconv"
"strings"
)
func ParseAddr(addr string) (string, int) {
p := strings.Split(addr, ":")
fHost := p[0]
fPort, _ := strconv.Atoi(p[1])
return fHost, fPort
}