2026-03-31 13:20:09 +00:00
|
|
|
// Example: service, _ := workspace.New(workspace.Options{
|
|
|
|
|
// Example: KeyPairProvider: keyPairProvider,
|
|
|
|
|
// Example: RootPath: "/srv/workspaces",
|
|
|
|
|
// Example: Medium: io.NewMemoryMedium(),
|
|
|
|
|
// Example: })
|
2026-03-31 05:10:35 +00:00
|
|
|
// Example: workspaceID, _ := service.CreateWorkspace("alice", "pass123")
|
|
|
|
|
// Example: _ = service.SwitchWorkspace(workspaceID)
|
2026-03-31 06:00:23 +00:00
|
|
|
// Example: _ = service.WriteWorkspaceFile("notes/todo.txt", "ship it")
|
2026-03-30 06:18:01 +00:00
|
|
|
package workspace
|