// ProducersFor gets the producers for the specified media types
ProducersFor gets the producers for the specified media types
// ProducersFor gets the producers for the specified media types
func (o *WorkflowManagerAPI) ProducersFor(mediaTypes []string) map[string]httpkit.Producer {
	result := make(map[string]httpkit.Producer)
	for _, mt := range mediaTypes {
		switch mt {
		case "application/json":
			result["application/json"] = o.JSONProducer
		}
	}
	return result
}
func ( o * WorkflowManagerAPI ) ProducersFor ( mediaTypes [ ] string ) map [ string ] httpkit . Producer { result := make ( map [ string ] httpkit . Producer ) for _ , mt := range mediaTypes { switch mt { case " " : result [ " " ] = o . JSONProducer } } return result }
ProducersFor gets the producers for the specified media types
ProducersFor gets the producers for the specified media types