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