code: func (h HostPortInfo) sanitize(ip, protocol *string) {
  	if len(*ip) == 0 {
  		*ip = DefaultBindAllHostIP
  	}
  	if len(*protocol) == 0 {
  		*protocol = string(v1.ProtocolTCP)
  	}
  }
docs: // sanitize the parameters