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 SearchFileEntry
- type SharedDirEntry
- 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 ETH KeyBackupType = 1 )
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"` RelatedObject interface{} `json:"relatedObject"` }
type NotificationTypes ¶ added in v0.0.13
type NotificationTypes int
const ( UNKNOWN NotificationTypes = iota INVITATION USAGEALERT INVITATION_REPLY )
type OpenFileInfo ¶
type OpenFileInfo struct {
Location string
}
type SearchFileEntry ¶ added in v0.0.30
type SharedDirEntry ¶ added in v0.0.14
type SharedDirEntry struct {}
type ThreadInfo ¶ added in v0.0.8
type UsageAlert ¶ added in v0.0.13
Click to show internal directories.
Click to hide internal directories.