Remote access to boltdb files via rpc
Expose the same great api of boltdb over the network.
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")
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.
- Batch
- Begin
- Close
- GoString
- Info (Not applicable)
- IsReadOnly
- Path
- Stats
- String
- Sync
- Update
- View
- Bucket
- CreateBucket
- CreateBucketIfNotExists
- Cursor
- Delete
- DeleteBucket
- ForEach
- Get
- NextSequence
- Put
- Root
- Stats
- Tx
- Writeable
- Bucket
- Commit
- CreateBucket
- CreateBucketIfNotExists
- Copy
- CopyFile
- Cursor
- DB
- DeleteBucket
- ForEach
- OnCommit
- Page (Not applicable)
- Rollback
- Size
- Writeable
- WriteTo
Get the api down using the built in go rpc system, then make the move to gRPC to support other language client libraries.