func (u *accessLogUtil) ApacheRemoteAddr() string {
	remoteAddr := u.R.RemoteAddr
	if remoteAddr != "" {
		if ip, _, err := net.SplitHostPort(remoteAddr); err == nil {
			return ip
		}
	}
	return ""
}
func (u *accessLogUtil) ApacheRemoteAddr() string {
	remoteAddr := u.R.RemoteAddr
	if remoteAddr != "" {
		if ip, _, err := net.SplitHostPort(remoteAddr); err == nil {
			return ip
		}
	}
	return ""
}
func ( u * accessLogUtil ) ApacheRemoteAddr ( ) string { remoteAddr := u . R . RemoteAddr if remoteAddr != " " { if ip , _ , err := net . SplitHostPort ( remoteAddr ) ; err == nil { return ip } } return " " }
// If remoteAddr is set then return is without the port number, apache log style.
If remoteAddr is set then return is without the port number apache log style .