code: func ParseEventFilter(v string) []EventFilter {
  	// No filter translates to stream all
  	if v == "" {
  		v = "*"
  	}
  
  	events := strings.Split(v, ",")
  	results := make([]EventFilter, 0, len(events))
  	for _, event := range events {
  		var result EventFilter
  		var name string
  
  		if strings.HasPrefix(event, "user:") {
  			name = event[len("user:"):]
  			event = "user"
  		} else if strings.HasPrefix(event, "query:") {
  			name = event[len("query:"):]
  			event = "query"
  		}
  
  		result.Event = event
  		result.Name = name
  		results = append(results, result)
  	}
  
  	return results
  }
docs: // ParseEventFilter a string with the event type filters and
  // parses it into a series of EventFilters if it can.