Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connection ¶
Connection sets up a RethinkDB connection to the host (`host:port` format) using the CA .pem file provided at path `caFile`
Types ¶
type Table ¶
type Table struct { Name string PrimaryKey interface{} // Keys are the index names. If len(value) is 0, it is a simple index // on the field matching the key. Otherwise, it is a compound index // on the list of fields in the corrensponding slice value. SecondaryIndexes map[string][]string Config map[string]string }
Table holds the configuration for setting up a RethinkDB table
Click to show internal directories.
Click to hide internal directories.