webapi: github.com/gowebapi/webapi/file/entries Index | Files

package entries

import "github.com/gowebapi/webapi/file/entries"

Package entries is file and directory upload by drag-and-drop operations.

Index

Package Files

doc.go entries.go

type ErrorCallback Uses

type ErrorCallback js.Func

ErrorCallback is a javascript function type.

Call Release() when done to release resouces allocated to this type.

func ErrorCallbackToJS Uses

func ErrorCallbackToJS(callback ErrorCallbackFunc) *ErrorCallback

type ErrorCallbackFunc Uses

type ErrorCallbackFunc func(err *domcore.DOMException)

callback: ErrorCallback

func ErrorCallbackFromJS Uses

func ErrorCallbackFromJS(_value js.Value) ErrorCallbackFunc

type FileCallback Uses

type FileCallback js.Func

FileCallback is a javascript function type.

Call Release() when done to release resouces allocated to this type.

func FileCallbackToJS Uses

func FileCallbackToJS(callback FileCallbackFunc) *FileCallback

type FileCallbackFunc Uses

type FileCallbackFunc func(file *file.File)

callback: FileCallback

func FileCallbackFromJS Uses

func FileCallbackFromJS(_value js.Value) FileCallbackFunc

type FileSystem Uses

type FileSystem struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: FileSystem

func FileSystemFromJS Uses

func FileSystemFromJS(value js.Wrapper) *FileSystem

FileSystemFromJS is casting a js.Wrapper into FileSystem.

func (*FileSystem) JSValue Uses

func (_this *FileSystem) JSValue() js.Value

func (*FileSystem) Name Uses

func (_this *FileSystem) Name() string

Name returning attribute 'name' with type string (idl: USVString).

func (*FileSystem) Root Uses

func (_this *FileSystem) Root() *FileSystemDirectoryEntry

Root returning attribute 'root' with type FileSystemDirectoryEntry (idl: FileSystemDirectoryEntry).

type FileSystemDirectoryEntry Uses

type FileSystemDirectoryEntry struct {
    FileSystemEntry
}

class: FileSystemDirectoryEntry

func FileSystemDirectoryEntryFromJS Uses

func FileSystemDirectoryEntryFromJS(value js.Wrapper) *FileSystemDirectoryEntry

FileSystemDirectoryEntryFromJS is casting a js.Wrapper into FileSystemDirectoryEntry.

func (*FileSystemDirectoryEntry) CreateReader Uses

func (_this *FileSystemDirectoryEntry) CreateReader() (_result *FileSystemDirectoryReader)

func (*FileSystemDirectoryEntry) GetDirectory Uses

func (_this *FileSystemDirectoryEntry) GetDirectory(path *string, options *FileSystemFlags, successCallback *FileSystemEntryCallback, errorCallback *ErrorCallback)

func (*FileSystemDirectoryEntry) GetFile Uses

func (_this *FileSystemDirectoryEntry) GetFile(path *string, options *FileSystemFlags, successCallback *FileSystemEntryCallback, errorCallback *ErrorCallback)

type FileSystemDirectoryReader Uses

type FileSystemDirectoryReader struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: FileSystemDirectoryReader

func FileSystemDirectoryReaderFromJS Uses

func FileSystemDirectoryReaderFromJS(value js.Wrapper) *FileSystemDirectoryReader

FileSystemDirectoryReaderFromJS is casting a js.Wrapper into FileSystemDirectoryReader.

func (*FileSystemDirectoryReader) JSValue Uses

func (_this *FileSystemDirectoryReader) JSValue() js.Value

func (*FileSystemDirectoryReader) ReadEntries Uses

func (_this *FileSystemDirectoryReader) ReadEntries(successCallback *FileSystemEntriesCallback, errorCallback *ErrorCallback)

type FileSystemEntriesCallback Uses

type FileSystemEntriesCallback js.Func

FileSystemEntriesCallback is a javascript function type.

Call Release() when done to release resouces allocated to this type.

func FileSystemEntriesCallbackToJS Uses

func FileSystemEntriesCallbackToJS(callback FileSystemEntriesCallbackFunc) *FileSystemEntriesCallback

type FileSystemEntriesCallbackFunc Uses

type FileSystemEntriesCallbackFunc func(entries []*FileSystemEntry)

callback: FileSystemEntriesCallback

func FileSystemEntriesCallbackFromJS Uses

func FileSystemEntriesCallbackFromJS(_value js.Value) FileSystemEntriesCallbackFunc

type FileSystemEntry Uses

type FileSystemEntry struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: FileSystemEntry

func FileSystemEntryFromJS Uses

func FileSystemEntryFromJS(value js.Wrapper) *FileSystemEntry

FileSystemEntryFromJS is casting a js.Wrapper into FileSystemEntry.

func (*FileSystemEntry) Filesystem Uses

func (_this *FileSystemEntry) Filesystem() *FileSystem

Filesystem returning attribute 'filesystem' with type FileSystem (idl: FileSystem).

func (*FileSystemEntry) FullPath Uses

func (_this *FileSystemEntry) FullPath() string

FullPath returning attribute 'fullPath' with type string (idl: USVString).

func (*FileSystemEntry) GetParent Uses

func (_this *FileSystemEntry) GetParent(successCallback *FileSystemEntryCallback, errorCallback *ErrorCallback)

func (*FileSystemEntry) IsDirectory Uses

func (_this *FileSystemEntry) IsDirectory() bool

IsDirectory returning attribute 'isDirectory' with type bool (idl: boolean).

func (*FileSystemEntry) IsFile Uses

func (_this *FileSystemEntry) IsFile() bool

IsFile returning attribute 'isFile' with type bool (idl: boolean).

func (*FileSystemEntry) JSValue Uses

func (_this *FileSystemEntry) JSValue() js.Value

func (*FileSystemEntry) Name Uses

func (_this *FileSystemEntry) Name() string

Name returning attribute 'name' with type string (idl: USVString).

type FileSystemEntryCallback Uses

type FileSystemEntryCallback js.Func

FileSystemEntryCallback is a javascript function type.

Call Release() when done to release resouces allocated to this type.

func FileSystemEntryCallbackToJS Uses

func FileSystemEntryCallbackToJS(callback FileSystemEntryCallbackFunc) *FileSystemEntryCallback

type FileSystemEntryCallbackFunc Uses

type FileSystemEntryCallbackFunc func(entry *FileSystemEntry)

callback: FileSystemEntryCallback

func FileSystemEntryCallbackFromJS Uses

func FileSystemEntryCallbackFromJS(_value js.Value) FileSystemEntryCallbackFunc

type FileSystemFileEntry Uses

type FileSystemFileEntry struct {
    FileSystemEntry
}

class: FileSystemFileEntry

func FileSystemFileEntryFromJS Uses

func FileSystemFileEntryFromJS(value js.Wrapper) *FileSystemFileEntry

FileSystemFileEntryFromJS is casting a js.Wrapper into FileSystemFileEntry.

func (*FileSystemFileEntry) File Uses

func (_this *FileSystemFileEntry) File(successCallback *FileCallback, errorCallback *ErrorCallback)

type FileSystemFlags Uses

type FileSystemFlags struct {
    Create    bool
    Exclusive bool
}

dictionary: FileSystemFlags

func FileSystemFlagsFromJS Uses

func FileSystemFlagsFromJS(value js.Wrapper) *FileSystemFlags

FileSystemFlagsFromJS is allocating a new FileSystemFlags object and copy all values from input javascript object

func (*FileSystemFlags) JSValue Uses

func (_this *FileSystemFlags) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type Union Uses

type Union struct {
    Value js.Value
}

func UnionFromJS Uses

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue Uses

func (u *Union) JSValue() js.Value

Package entries imports 3 packages (graph) and is imported by 1 packages. Updated 2019-10-20. Refresh now. Tools for package owners.