Documentation
¶
Index ¶
- func NewFsModule(ctx *js.JSEnv) interface{}
- type FsModule
- func (m *FsModule) AppendFile(filename string, data []byte) (int, error)
- func (m *FsModule) Close(fd int)
- func (m *FsModule) Open(path string, flags string, mode uint32) (int, error)
- func (m *FsModule) OpenReader(path string) (*reader, error)
- func (m *FsModule) Read(fd int, length int, position int64) ([]byte, error)
- func (m *FsModule) ReadFile(filename string) ([]byte, error)
- func (m *FsModule) Write(fd int, data []byte, position int64) (int, error)
- func (m *FsModule) WriteFile(filename string, data []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFsModule ¶
Types ¶
type FsModule ¶
type FsModule struct {
// contains filtered or unexported fields
}
func (*FsModule) AppendFile ¶
func (*FsModule) OpenReader ¶
Click to show internal directories.
Click to hide internal directories.