package
Version:
v0.0.0-...-5351c4f
Opens a new window with list of versions in this module.
Published: Apr 30, 2024
License: MIT
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type DocumentCreate struct {
Name string `json:"name"`
}
type DocumentListItem struct {
ID uuid.UUID `json:"id"`
Name string `json:"name"`
}
type DocumentResponse struct {
ID uuid.UUID `json:"id"`
Name string `json:"name"`
OwnerID uuid.UUID `json:"owner_id"`
SharedWith []uuid.UUID `json:"shared_with"`
StateVector []byte `json:"state_vector"`
}
type TokenResponse struct {
Token string `json:"token"`
}
type UserCreate struct {
Email string `json:"email"`
Username string `json:"username"`
Password string `json:"password"`
}
type UserCredentials struct {
Email string `json:"email"`
Password string `json:"password"`
}
type UserResponse struct {
ID uuid.UUID `json:"id"`
Email string `json:"email"`
Username string `json:"username"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.