5. Client Application APIΒΆ
Note
Staff Advice: Design a solution before starting the implementation. Students consistently agree that design is harder than implementation across multiple iterations of this project. A faithful implementation of a faulty design will not earn you many points.
See additional suggestions in Staff Advice.
The API for each of the 8 functions that you are required to implement in client.go are documented in the following pages.
- 5.1. InitUser: Create a user account.
- 5.2. GetUser: Log in using username and password
- 5.3. User.StoreFile: Store a new file
- 5.4. User.LoadFile: Load a previously stored file
- 5.5. User.AppendToFile: Efficiently append data to an existing file
- 5.6. User.CreateInvitation: Create a secure file share invitation
- 5.7. User.AcceptInvitation: Add a shared file to personal file namespace
- 5.8. User.RevokeAccess: Revoke file access