/remote

Remote access to boltdb files via rpc

Primary LanguageGoMIT LicenseMIT

Remote GoDoc

Remote access to boltdb files via rpc

Mission

Expose the same great api of boltdb over the network.

Use

Just like boltdb... but with a network address.

db, err := remote.Open("tcp://10.0.0.1:9090")

Or open a local database.

db, err := remote.Open("/home/user/local.db")

Progress

Most common opperations are covered. Certain functions that are done through io interfaces have been put off until a better streaming system can be implemented.

DB

  • Batch
  • Begin
  • Close
  • GoString
  • Info (Not applicable)
  • IsReadOnly
  • Path
  • Stats
  • String
  • Sync
  • Update
  • View

Bucket

  • Bucket
  • CreateBucket
  • CreateBucketIfNotExists
  • Cursor
  • Delete
  • DeleteBucket
  • ForEach
  • Get
  • NextSequence
  • Put
  • Root
  • Stats
  • Tx
  • Writeable

Tx

  • Bucket
  • Commit
  • CreateBucket
  • CreateBucketIfNotExists
  • Copy
  • CopyFile
  • Cursor
  • DB
  • DeleteBucket
  • ForEach
  • OnCommit
  • Page (Not applicable)
  • Rollback
  • Size
  • Writeable
  • WriteTo

Plan

Get the api down using the built in go rpc system, then make the move to gRPC to support other language client libraries.