Documentation ¶ Index ¶ func Read(f File) (io.ReadCloser, error) type File func New(name string, data []byte, mimetype string, lastmod time.Time) File func NewFromJS(file js.Value) File func (f File) LastModified() time.Time func (f File) MarshalJS() js.Value func (f File) MimeType() string func (f File) Name() string func (f File) Size() int Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Read ¶ func Read(f File) (io.ReadCloser, error) Types ¶ type File ¶ type File js.Value func New ¶ func New(name string, data []byte, mimetype string, lastmod time.Time) File func NewFromJS ¶ func NewFromJS(file js.Value) File func (File) LastModified ¶ func (f File) LastModified() time.Time func (File) MarshalJS ¶ func (f File) MarshalJS() js.Value func (File) MimeType ¶ func (f File) MimeType() string func (File) Name ¶ func (f File) Name() string func (File) Size ¶ func (f File) Size() int Source Files ¶ View all Source files files.go readfile.go Click to show internal directories. Click to hide internal directories.