code: func newStatsClient(name string, host string) (stats.StatsClient, error) {
  	switch name {
  	case "expvar":
  		return stats.NewExpvarStatsClient(), nil
  	case "statsd":
  		return statsd.NewStatsClient(host)
  	case "nop", "none":
  		return stats.NopStatsClient, nil
  	default:
  		return nil, errors.Errorf("'%v' not a valid stats client, choose from [expvar, statsd, none].", name)
  	}
  }
docs: // newStatsClient creates a stats client from the config