Documentation ¶
Index ¶
- type MemFS
- func (mem *MemFS) Read(name string) (tlsfs.ZapFile, error)
- func (mem *MemFS) ReadAll() ([]tlsfs.ZapFile, error)
- func (mem *MemFS) Remove(name string) error
- func (mem *MemFS) RemoveAll() error
- func (mem *MemFS) Write(name string) (tlsfs.ZapWriter, error)
- func (mem *MemFS) WriteFile(zapped tlsfs.ZapFile) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemFS ¶
type MemFS struct {
// contains filtered or unexported fields
}
MemFS implements the ZapFS interface for in-memory file storage. It is safe for use with concurrent read and writes.
Click to show internal directories.
Click to hide internal directories.