code: func (s *StdoutClient) send(stat string, format string, value interface{}) error {
  	stat = strings.Replace(stat, "%HOST%", Hostname, 1)
  	// if sending tcp append a newline
  	format = fmt.Sprintf("%s%s:%s\n", s.prefix, stat, format)
  	_, err := fmt.Fprintf(s.FD, format, value)
  	return err
  }
docs: // write a UDP packet with the statsd event