SYMBOL INDEX (153 symbols across 11 files) FILE: client.go type Client (line 14) | type Client struct method call (line 31) | func (c *Client) call(path string, in interface{}) (io.ReadCloser, err... method download (line 51) | func (c *Client) download(path string, in interface{}, r io.Reader) (i... method do (line 74) | func (c *Client) do(req *http.Request) (io.ReadCloser, int64, error) { function New (line 22) | func New(config *Config) *Client { FILE: client_test.go function client (line 10) | func client() *Client { function TestClient_error_text (line 15) | func TestClient_error_text(t *testing.T) { function TestClient_error_json (line 30) | func TestClient_error_json(t *testing.T) { FILE: config.go type Config (line 8) | type Config struct function NewConfig (line 14) | func NewConfig(accessToken string) *Config { FILE: error.go type Error (line 4) | type Error struct method Error (line 11) | func (e *Error) Error() string { FILE: example_test.go function Example (line 12) | func Example() { function Example_files (line 25) | func Example_files() { function Example_users (line 36) | func Example_users() { FILE: files.go type Files (line 13) | type Files struct method GetMetadata (line 109) | func (c *Files) GetMetadata(in *GetMetadataInput) (out *GetMetadataOut... method CreateFolder (line 133) | func (c *Files) CreateFolder(in *CreateFolderInput) (out *CreateFolder... method Delete (line 155) | func (c *Files) Delete(in *DeleteInput) (out *DeleteOutput, err error) { method PermanentlyDelete (line 172) | func (c *Files) PermanentlyDelete(in *PermanentlyDeleteInput) (err err... method Copy (line 194) | func (c *Files) Copy(in *CopyInput) (out *CopyOutput, err error) { method Move (line 217) | func (c *Files) Move(in *MoveInput) (out *MoveOutput, err error) { method Restore (line 240) | func (c *Files) Restore(in *RestoreInput) (out *RestoreOutput, err err... method ListFolder (line 267) | func (c *Files) ListFolder(in *ListFolderInput) (out *ListFolderOutput... method ListFolderContinue (line 286) | func (c *Files) ListFolderContinue(in *ListFolderContinueInput) (out *... method Search (line 342) | func (c *Files) Search(in *SearchInput) (out *SearchOutput, err error) { method Upload (line 375) | func (c *Files) Upload(in *UploadInput) (out *UploadOutput, err error) { method Download (line 398) | func (c *Files) Download(in *DownloadInput) (out *DownloadOutput, err ... method GetThumbnail (line 449) | func (c *Files) GetThumbnail(in *GetThumbnailInput) (out *GetThumbnail... method GetPreview (line 473) | func (c *Files) GetPreview(in *GetPreviewInput) (out *GetPreviewOutput... method ListRevisions (line 496) | func (c *Files) ListRevisions(in *ListRevisionsInput) (out *ListRevisi... function NewFiles (line 18) | func NewFiles(config *Config) *Files { type WriteMode (line 27) | type WriteMode constant WriteModeAdd (line 31) | WriteModeAdd WriteMode = "add" constant WriteModeOverwrite (line 32) | WriteModeOverwrite = "overwrite" type Dimensions (line 36) | type Dimensions struct type GPSCoordinates (line 42) | type GPSCoordinates struct type PhotoMetadata (line 48) | type PhotoMetadata struct type VideoMetadata (line 55) | type VideoMetadata struct type MediaMetadata (line 63) | type MediaMetadata struct type MediaInfo (line 69) | type MediaInfo struct type FileSharingInfo (line 75) | type FileSharingInfo struct type Metadata (line 82) | type Metadata struct type GetMetadataInput (line 98) | type GetMetadataInput struct type GetMetadataOutput (line 104) | type GetMetadataOutput struct type CreateFolderInput (line 121) | type CreateFolderInput struct type CreateFolderOutput (line 126) | type CreateFolderOutput struct type DeleteInput (line 145) | type DeleteInput struct type DeleteOutput (line 150) | type DeleteOutput struct type PermanentlyDeleteInput (line 167) | type PermanentlyDeleteInput struct type CopyInput (line 183) | type CopyInput struct type CopyOutput (line 189) | type CopyOutput struct type MoveInput (line 206) | type MoveInput struct type MoveOutput (line 212) | type MoveOutput struct type RestoreInput (line 229) | type RestoreInput struct type RestoreOutput (line 235) | type RestoreOutput struct type ListFolderInput (line 252) | type ListFolderInput struct type ListFolderOutput (line 260) | type ListFolderOutput struct type ListFolderContinueInput (line 281) | type ListFolderContinueInput struct type SearchMode (line 298) | type SearchMode constant SearchModeFilename (line 302) | SearchModeFilename SearchMode = "filename" constant SearchModeFilenameAndContent (line 303) | SearchModeFilenameAndContent = "filename_and_content" constant SearchModeDeletedFilename (line 304) | SearchModeDeletedFilename = "deleted_filename" type SearchMatchType (line 308) | type SearchMatchType constant SearchMatchFilename (line 312) | SearchMatchFilename SearchMatchType = "filename" constant SearchMatchContent (line 313) | SearchMatchContent = "content" constant SearchMatchBoth (line 314) | SearchMatchBoth = "both" type SearchMatch (line 318) | type SearchMatch struct type SearchInput (line 326) | type SearchInput struct type SearchOutput (line 335) | type SearchOutput struct type UploadInput (line 360) | type UploadInput struct type UploadOutput (line 370) | type UploadOutput struct type DownloadInput (line 387) | type DownloadInput struct type DownloadOutput (line 392) | type DownloadOutput struct type ThumbnailFormat (line 409) | type ThumbnailFormat constant GetThumbnailFormatJPEG (line 413) | GetThumbnailFormatJPEG ThumbnailFormat = "jpeg" constant GetThumbnailFormatPNG (line 415) | GetThumbnailFormatPNG = "png" type ThumbnailSize (line 419) | type ThumbnailSize constant GetThumbnailSizeW32H32 (line 423) | GetThumbnailSizeW32H32 ThumbnailSize = "w32h32" constant GetThumbnailSizeW64H64 (line 425) | GetThumbnailSizeW64H64 = "w64h64" constant GetThumbnailSizeW128H128 (line 427) | GetThumbnailSizeW128H128 = "w128h128" constant GetThumbnailSizeW640H480 (line 429) | GetThumbnailSizeW640H480 = "w640h480" constant GetThumbnailSizeW1024H768 (line 431) | GetThumbnailSizeW1024H768 = "w1024h768" type GetThumbnailInput (line 435) | type GetThumbnailInput struct type GetThumbnailOutput (line 442) | type GetThumbnailOutput struct type GetPreviewInput (line 460) | type GetPreviewInput struct type GetPreviewOutput (line 465) | type GetPreviewOutput struct type ListRevisionsInput (line 484) | type ListRevisionsInput struct type ListRevisionsOutput (line 490) | type ListRevisionsOutput struct function normalizePath (line 508) | func normalizePath(s string) string { constant hashBlockSize (line 515) | hashBlockSize = 4 * 1024 * 1024 function ContentHash (line 519) | func ContentHash(r io.Reader) (string, error) { function FileContentHash (line 545) | func FileContentHash(filename string) (string, error) { FILE: files_test.go function TestFiles_Upload (line 14) | func TestFiles_Upload(t *testing.T) { function TestFiles_Download (line 32) | func TestFiles_Download(t *testing.T) { function TestFiles_GetMetadata (line 53) | func TestFiles_GetMetadata(t *testing.T) { function TestFiles_ListFolder (line 63) | func TestFiles_ListFolder(t *testing.T) { function TestFiles_ListFolder_root (line 76) | func TestFiles_ListFolder_root(t *testing.T) { function TestFiles_Search (line 87) | func TestFiles_Search(t *testing.T) { function TestFiles_Delete (line 99) | func TestFiles_Delete(t *testing.T) { function TestFiles_GetThumbnail (line 131) | func TestFiles_GetThumbnail(t *testing.T) { function TestFiles_GetPreview (line 162) | func TestFiles_GetPreview(t *testing.T) { function TestFiles_ListRevisions (line 178) | func TestFiles_ListRevisions(t *testing.T) { function TestFiles_ContentHash (line 188) | func TestFiles_ContentHash(t *testing.T) { FILE: sharing.go type Sharing (line 9) | type Sharing struct method CreateSharedLink (line 50) | func (c *Sharing) CreateSharedLink(in *CreateSharedLinkInput) (out *Cr... method ListSharedLinks (line 82) | func (c *Sharing) ListSharedLinks(in *ListShareLinksInput) (out *ListS... method ListSharedFolders (line 112) | func (c *Sharing) ListSharedFolders(in *ListSharedFolderInput) (out *L... method ListSharedFoldersContinue (line 129) | func (c *Sharing) ListSharedFoldersContinue(in *ListSharedFolderContin... function NewSharing (line 14) | func NewSharing(config *Config) *Sharing { type CreateSharedLinkInput (line 23) | type CreateSharedLinkInput struct type CreateSharedLinkOutput (line 28) | type CreateSharedLinkOutput struct type VisibilityType (line 38) | type VisibilityType constant Public (line 42) | Public VisibilityType = "public" constant TeamOnly (line 43) | TeamOnly = "team_only" constant Password (line 44) | Password = "password" constant TeamAndPassword (line 45) | TeamAndPassword = "team_and_password" constant SharedFolderOnly (line 46) | SharedFolderOnly = "shared_folder_only" type ListShareLinksInput (line 62) | type ListShareLinksInput struct type SharedLinkOutput (line 67) | type SharedLinkOutput struct type ListShareLinksOutput (line 77) | type ListShareLinksOutput struct type ListSharedFolderInput (line 95) | type ListSharedFolderInput struct type FolderAction (line 101) | type FolderAction struct type ListSharedFolderOutput (line 106) | type ListSharedFolderOutput struct type ListSharedFolderContinueInput (line 124) | type ListSharedFolderContinueInput struct type SharedFolderMetadata (line 141) | type SharedFolderMetadata struct type FolderPolicy (line 160) | type FolderPolicy struct type AccessType (line 176) | type AccessType constant Owner (line 180) | Owner AccessType = "owner" constant Editor (line 181) | Editor = "editor" constant Viewer (line 182) | Viewer = "viewer" constant ViewerNoComment (line 183) | ViewerNoComment = "viewer_no_comment" type ACLUpdatePolicy (line 187) | type ACLUpdatePolicy constant ACLUpdatePolicyOwner (line 191) | ACLUpdatePolicyOwner ACLUpdatePolicy = "owner" constant ACLUpdatePolicyEditors (line 192) | ACLUpdatePolicyEditors = "editors" type SharedLinkPolicy (line 196) | type SharedLinkPolicy constant SharedLinkPolicyAnyone (line 200) | SharedLinkPolicyAnyone SharedLinkPolicy = "anyone" constant SharedLinkPolicyMembers (line 201) | SharedLinkPolicyMembers = "members" type MemberPolicy (line 205) | type MemberPolicy constant MemberPolicyTeam (line 209) | MemberPolicyTeam MemberPolicy = "team" constant MemberPolicyAnyone (line 210) | MemberPolicyAnyone = "anyone" FILE: sharing_test.go function TestSharing_CreateSharedLink (line 9) | func TestSharing_CreateSharedLink(t *testing.T) { function TestSharing_ListSharedFolder (line 19) | func TestSharing_ListSharedFolder(t *testing.T) { FILE: users.go type Users (line 8) | type Users struct method GetAccount (line 38) | func (c *Users) GetAccount(in *GetAccountInput) (out *GetAccountOutput... method GetCurrentAccount (line 69) | func (c *Users) GetCurrentAccount() (out *GetCurrentAccountOutput, err... method GetSpaceUsage (line 90) | func (c *Users) GetSpaceUsage() (out *GetSpaceUsageOutput, err error) { function NewUsers (line 13) | func NewUsers(config *Config) *Users { type GetAccountInput (line 22) | type GetAccountInput struct type GetAccountOutput (line 27) | type GetAccountOutput struct type GetCurrentAccountOutput (line 50) | type GetCurrentAccountOutput struct type GetSpaceUsageOutput (line 81) | type GetSpaceUsageOutput struct FILE: users_test.go function TestUsers_GetCurrentAccount (line 9) | func TestUsers_GetCurrentAccount(t *testing.T) {