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 KeyPair
- type Member
- type MessageBody
- type MirrorFile
- type Notification
- type NotificationTypes
- type OpenFileInfo
- 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 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 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.