Documentation ¶
Index ¶
- Constants
- Variables
- type Cassandra
- func (cs *Cassandra) Create(key string, value map[string]interface{}) error
- func (cs *Cassandra) Delete(key string) error
- func (cs *Cassandra) Init(config Config)
- func (cb *Cassandra) Query(key string, args []interface{}) error
- func (cs *Cassandra) Read(key string) error
- func (cs *Cassandra) Shutdown()
- func (cs *Cassandra) Update(key string, value map[string]interface{}) error
- type Column
- type Config
- type Couchbase
- func (cb *Couchbase) Create(key string, value map[string]interface{}) error
- func (cb *Couchbase) Delete(key string) error
- func (cb *Couchbase) Init(config Config)
- func (cb *Couchbase) Query(key string, args []interface{}) error
- func (cb *Couchbase) Read(key string) error
- func (cb *Couchbase) Shutdown()
- func (cb *Couchbase) Update(key string, value map[string]interface{}) error
- type Database
- type MongoDB
- func (mongo *MongoDB) Create(key string, value map[string]interface{}) error
- func (mongo *MongoDB) Delete(key string) error
- func (mongo *MongoDB) Init(config Config)
- func (mongo *MongoDB) Query(key string, args []interface{}) error
- func (mongo *MongoDB) Read(key string) error
- func (mongo *MongoDB) Shutdown()
- func (mongo *MongoDB) Update(key string, value map[string]interface{}) error
- type RestClient
- type Tuq
- func (t *Tuq) Create(key string, value map[string]interface{}) error
- func (t *Tuq) Delete(key string) error
- func (t *Tuq) Init(config Config)
- func (t *Tuq) Query(key string, args []interface{}) error
- func (t *Tuq) Read(key string) error
- func (t *Tuq) Shutdown()
- func (t *Tuq) Update(key string, value map[string]interface{}) error
Constants ¶
View Source
const MaxIdleConnsPerHost = 1000
Variables ¶
View Source
var DDOC_NAME = "ddoc"
Functions ¶
This section is empty.
Types ¶
type Cassandra ¶
type Cassandra struct { Pool gossie.ConnectionPool ColumnFamily string }
type RestClient ¶
type RestClient struct { URIs []string // contains filtered or unexported fields }
func (RestClient) Do ¶
func (c RestClient) Do(q string) error
Click to show internal directories.
Click to hide internal directories.