Versions in this module Expand all Collapse all v0 v0.0.1 May 7, 2018 Changes in this version + func NewFSM(r *Registry) raft.FSM + type Conn struct + func (c *Conn) Begin() (driver.Tx, error) + func (c *Conn) Close() error + func (c *Conn) Exec(query string, args []driver.Value) (driver.Result, error) + func (c *Conn) Prepare(query string) (driver.Stmt, error) + type Driver struct + func NewDriver(r *Registry, raft *raft.Raft, config DriverConfig) (*Driver, error) + func (d *Driver) Leader() string + func (d *Driver) Open(uri string) (driver.Conn, error) + func (d *Driver) Recover(token uint64) error + func (d *Driver) Servers() ([]string, error) + type DriverConfig struct + ApplyTimeout time.Duration + BarrierTimeout time.Duration + CheckpointThreshold uint64 + Logger *log.Logger + type Registry registry.Registry + func NewRegistry(dir string) *Registry + type Stmt struct + func (s *Stmt) Close() error + func (s *Stmt) Exec(args []driver.Value) (driver.Result, error) + func (s *Stmt) NumInput() int + func (s *Stmt) Query(args []driver.Value) (driver.Rows, error) + type Tx struct + func (tx *Tx) Commit() error + func (tx *Tx) Rollback() error + func (tx *Tx) Token() uint64