Documentation ¶
Index ¶
- type APIError
- type APISessionTokens
- type AddItemResult
- type AddItemsResponse
- type AddWatchFile
- type AppConfig
- type DirEntry
- type FileInfo
- type FileSharingInfo
- type FullPath
- type Identity
- type Invitation
- type InvitationReply
- type InvitationStatus
- type KeyBackupType
- type KeyPair
- type Member
- type MessageBody
- type MirrorFile
- type Notification
- type NotificationTypes
- type OpenFileInfo
- type RevokedInvitation
- type SearchFileEntry
- type SharedDirEntry
- type SharedFilesRoleAction
- type ThreadInfo
- type UsageAlert
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APISessionTokens ¶ added in v0.0.13
type AddItemResult ¶
type AddItemsResponse ¶
type AddWatchFile ¶
type FileSharingInfo ¶ added in v0.0.10
type Invitation ¶ added in v0.0.13
type InvitationReply ¶ added in v0.0.14
type InvitationReply struct {
InvitationID string `json:"invitationID"`
}
type InvitationStatus ¶ added in v0.0.13
type InvitationStatus int
const ( PENDING InvitationStatus = 0 ACCEPTED InvitationStatus = 1 REJECTED InvitationStatus = 2 )
type KeyBackupType ¶ added in v0.0.34
type KeyBackupType int
const ( PASSWORD KeyBackupType = 0 GOOGLE KeyBackupType = 1 TWITTER KeyBackupType = 2 EMAIL KeyBackupType = 3 )
func (KeyBackupType) String ¶ added in v0.0.34
func (b KeyBackupType) String() string
type MessageBody ¶ added in v0.0.13
type MessageBody struct { Type NotificationTypes `json:"type"` Body []byte `json:"body"` }
type MirrorFile ¶ added in v0.0.13
type Notification ¶ added in v0.0.13
type Notification struct { ID string `json:"id"` Subject string `json:"subject"` Body string `json:"body"` NotificationType NotificationTypes `json:"notificationType"` CreatedAt int64 `json:"createdAt"` ReadAt int64 `json:"readAt"` // QUESTION: is there a way to enforce that only one of the below is present InvitationValue Invitation `json:"invitationValue"` UsageAlertValue UsageAlert `json:"usageAlertValue"` InvitationAcceptValue InvitationReply `json:"invitationAcceptValue"` RevokedInvitationValue RevokedInvitation `json:"revokedInvitationValue"` RelatedObject interface{} `json:"relatedObject"` }
type NotificationTypes ¶ added in v0.0.13
type NotificationTypes int
const ( UNKNOWN NotificationTypes = iota INVITATION USAGEALERT INVITATION_REPLY REVOKED_INVITATION )
type OpenFileInfo ¶
type OpenFileInfo struct {
Location string
}
type RevokedInvitation ¶ added in v0.1.3
type RevokedInvitation struct { InviterPublicKey string `json:"inviterPublicKey"` InviteePublicKey string `json:"inviteePublicKey"` ItemPaths []FullPath `json:"itemPaths"` Keys [][]byte `json:"keys"` }
Represents when an inviter unshared access to previously shared files in ItemPaths
type SearchFileEntry ¶ added in v0.0.30
type SharedDirEntry ¶ added in v0.0.14
type SharedDirEntry struct {}
type SharedFilesRoleAction ¶ added in v0.1.3
type SharedFilesRoleAction int
SharedFilesRoleAction represents action to be performed on the role
const ( DeleteRoleAction SharedFilesRoleAction = iota ReadWriteRoleAction )
type ThreadInfo ¶ added in v0.0.8
type UsageAlert ¶ added in v0.0.13
Click to show internal directories.
Click to hide internal directories.