code: func (c *Conn) CreateSnapshotRepository(name string, args map[string]interface{}, settings interface{}) (BaseResponse, error) {
  	var url string
  	var retval BaseResponse
  	url = fmt.Sprintf("/_snapshot/%s", name)
  	body, err := c.DoCommand("POST", url, args, settings)
  	if err != nil {
  		return retval, err
  	}
  	if err == nil {
  		jsonErr := json.Unmarshal(body, &retval)
  		if jsonErr != nil {
  			return retval, jsonErr
  		}
  	}
  
  	return retval, nil
  
  }
docs: // CreateSnapshotRepository creates a new snapshot repository on the cluster
  // http://www.elastic.co/guide/en/elasticsearch/reference/1.3/modules-snapshots.html