https://github.com/jille/billy-grpc
billy-grpc implements the billy.Filesystem interface and calls another billy.Filesystem over gRPC.
https://github.com/jille/billy-grpc
filesystem-library golang golang-billy grpc
Last synced: 9 months ago
JSON representation
billy-grpc implements the billy.Filesystem interface and calls another billy.Filesystem over gRPC.
- Host: GitHub
- URL: https://github.com/jille/billy-grpc
- Owner: Jille
- License: bsd-2-clause
- Created: 2021-09-03T14:12:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-14T09:55:10.000Z (over 3 years ago)
- Last Synced: 2025-04-06T15:52:53.553Z (12 months ago)
- Topics: filesystem-library, golang, golang-billy, grpc
- Language: Go
- Homepage:
- Size: 45.9 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# billy-grpc
fsserver: [](https://godoc.org/github.com/Jille/billy-grpc/fsserver)
fsclient: [](https://godoc.org/github.com/Jille/billy-grpc/fsclient)
The `fsclient` library provides a billy.Filesystem that talks to a gRPC server. The `fsserver` library provides a gRPC server that talks to a billy.Filesystem.
This allows you to access a remote filesystem as if it were local.
In fsserver you can access the gRPC peer from the context and return a different filesystem for different peers. You're expected to perform authentication at or before this layer.
The Billy interface isn't ideal for this, but I didn't want to introduce a 15th standard.