code: func ValidIPAddr(cktypes ...int) IPAddr {
  
  	for _, cktype := range cktypes {
  
  		if cktype != IPAny && cktype != IPv4 && cktype != IPv6 && cktype != IPv4MappedIPv6 && cktype != IPv4CIDR && cktype != IPv6CIDR && cktype != IPv4MappedIPv6CIDR {
  			return IPAddr{Vaildtypes: []int{None}}
  		}
  	}
  
  	return IPAddr{Vaildtypes: cktypes}
  }
docs: // Requires an IP Address string to be exactly a given  validation type (IPv4, IPv6, IPv4MappedIPv6, IPv4CIDR, IPv6CIDR, IPv4MappedIPv6CIDR OR IPAny)