Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
go-version: '1.26'
check-latest: true
- name: Go Generate
run: go generate
- name: Run coverage
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
go-version: '1.26'
check-latest: true
cache: true

- name: Generate APIs and run tests
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The service listens on a loopback port chosen at start-up and registers these pa
| `/v2/local_storage` | merges (`/merge`, `/merge/init`) and mounts (`/mount`) |
| `/doc/v2/local_storage` | the OpenAPI document for the v2 API, and its viewer |

Every request needs a CasaOS JWT unless it comes from loopback. The Dropbox and Google Drive routes (`/v1/cloud`, `/v1/driver`) are still in the router but are not registered with the gateway, so nothing reaches them.
Every request needs a CasaOS JWT, unless it comes from loopback with `Authorization: Internal <secret>`, the per-boot secret the gateway writes to `<runtime path>/internal.secret`. Cloud drives (`/v1/cloud`, `/v1/driver`, `/v1/recover`) are served by the CasaOS core service, not by this one.

Disk hotplug arrives from the kernel over a netlink uevent socket. The service publishes `local-storage:storage_status` and `local-storage:merge_status`, plus per-device disk and USB events, on CasaOS-MessageBus.

Expand Down
12 changes: 0 additions & 12 deletions drivers/all.go

This file was deleted.

30 changes: 0 additions & 30 deletions drivers/base/client.go

This file was deleted.

12 changes: 0 additions & 12 deletions drivers/base/types.go

This file was deleted.

100 changes: 0 additions & 100 deletions drivers/dropbox/drive.go

This file was deleted.

33 changes: 0 additions & 33 deletions drivers/dropbox/meta.go

This file was deleted.

88 changes: 0 additions & 88 deletions drivers/dropbox/types.go

This file was deleted.

Loading
Loading