Documentation ¶
Index ¶
- type Couch
- func (db *Couch) Alldbs() (dbs []string)
- func (couch *Couch) CreateDb(name string) (reply map[string]bool, err error)
- func (db *Couch) DestroyDb(name string) (reply map[string]bool, err error)
- func (c *Couch) UseDb(name string) (db Database, err error)
- func (c *Couch) Uuids(count int) (uuids []string)
- func (couch *Couch) Version() (info map[string]string)
- type Database
- func (db *Database) Get(name string) (doc map[string]interface{}, err error)
- func (db *Database) GetFor(name string, doc interface{}) (interface{}, error)
- func (db *Database) View(ddoc string, view string, params *url.Values, response interface{}) (err error)
- func (db *Database) ViewJson(ddoc string, view string, params *url.Values) (resp *simplejson.Json, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Couch ¶
type Couch struct { Db Database // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.