package
2.1.0-alpha.1+incompatible
Repository: https://github.com/gitql/vitess.git
Documentation: pkg.go.dev

# README

Vitess

This is the Go SQL driver for Vitess.

Vitess is an SQL middleware which turns MySQL/MariaDB into a fast, scalable and highly-available distributed database. For more information, visit www.vitess.io.

Documentation

For more information on this driver, please see its godoc page:

https://godoc.org/github.com/youtube/vitess/go/vt/vitessdriver

Installation

go get github.com/youtube/vitess/go/vt/vitessdriver

See the documentation link above for examples.

# Functions

Open is a Vitess helper function for sql.Open().
OpenForStreaming is the same as Open() but uses streaming RPCs to retrieve the results.
OpenShard connects to vtgate running at "address".
OpenShardForStreaming is the same as OpenShard() but uses streaming RPCs to retrieve the results.
OpenWithConfiguration is the generic Vitess helper function for sql.Open().

# Structs

Configuration holds all Vitess driver settings.