code: func (r *limitsImpl) LoadPolicies(contents []byte) error {
  	var newPolicy rateLimitConfig
  	err := yaml.Unmarshal(contents, &newPolicy)
  	if err != nil {
  		return err
  	}
  
  	r.Lock()
  	r.rlPolicy = &newPolicy
  	r.Unlock()
  	return nil
  }
docs: // LoadPolicies loads various rate limiting policies from a byte array of
  // YAML configuration (typically read from disk by a reloader)