Versions in this module Expand all Collapse all v0 v0.1.0 Feb 28, 2019 Changes in this version + type DB struct + func New(c *sql.DB) (*DB, error) + func (d *DB) Fetch(ctx context.Context, req *plutodbpb.FetchRequest) (resp *plutodbpb.FetchResponse, err error) + func (d *DB) GetHistory(ctx context.Context, req *plutodbpb.GetHistoryRequest) (resp *plutodbpb.GetHistoryResponse, _ error) + func (d *DB) GetTxnMulti(ctx context.Context, req *plutodbpb.GetTxnMultiRequest) (*plutodbpb.GetTxnMultiResponse, error) + func (d *DB) Push(ctx context.Context, txns []pt.Txn) (err error) + func (d *DB) PushSettings(ctx context.Context, sett *pt.Settings) (err error)