kvrepl: s.mcquay.me/dm/kvrepl Index | Files

package kvrepl

import "s.mcquay.me/dm/kvrepl"


Package Files

db.go parse.go

func Parse Uses

func Parse(s string, d *DB) (string, error)

Parse decides what commands to run and returns a string containing the value of a read or an error if one occurred.

type DB Uses

type DB struct {
    KV1 map[string]string
    KV2 map[string]string
    PKV bool
    // contains filtered or unexported fields

DB is struct defining two maps, pkv (points to kv) and nest, which aids figuring out how nested the commits are for current transaction

Package kvrepl imports 3 packages (graph). Updated 2020-07-14. Refresh now. Tools for package owners.