Documentation ¶
Overview ¶
Package files turns javascript files into io.Reader's
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrClosed = errors.New("file closed")
)
Errors
Functions ¶
This section is empty.
Types ¶
type Blob ¶
type Blob struct {
// contains filtered or unexported fields
}
Blob is a wrapped javascript blob
type File ¶
type File struct {
Blob
}
File wraps a Blob
func (File) LastModifiedDate ¶
LastModifiedDate returns the last modified time for the file
type FileReader ¶
type FileReader struct { File // contains filtered or unexported fields }
FileReader wraps a File to allow for reading
func (*FileReader) Close ¶
func (fr *FileReader) Close() error
Close implements the io.Closer interface
func (*FileReader) Read ¶
func (fr *FileReader) Read(b []byte) (int, error)
Read implements the io.Reader interface
Click to show internal directories.
Click to hide internal directories.