Documentation ¶
Overview ¶
Package kvdbdriver implements the kvdb keyvalue driver.
The dataSource should be in the format:
kvdb://host[:port]/database[?param1=value1&...] or kvdb://host[:port]/path/database[?param1=value1&...]
In the first case the connection will be made over TCP. In the second case the connection will be made over a web socket with connection details:
ws://host[:port]/path
Valid parameters are:
- appname The application name to identify ourselves as.
- ssldisabled Is SSL disabled for this connection?
- sslcert The SSL certificate.
Any other parameters will be ignored.
The default TCP port number is specified by the constant kvdb.DefaultPort.
Index ¶
Constants ¶
View Source
const DriverName = "kvdb"
DriverName is the name used to register the driver.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.