Documentation ¶
Index ¶
- Constants
- type VolatileFile
- func (vf *VolatileFile) Deploy() error
- func (vf *VolatileFile) EncodeData(data interface{}) ([]byte, error)
- func (vf *VolatileFile) GetNotifyChan() chan *event.Event
- func (vf *VolatileFile) GetPath() string
- func (vf *VolatileFile) ReadData() (interface{}, error)
- func (vf *VolatileFile) ReadRawData() ([]byte, error)
- func (vf *VolatileFile) TearDown() error
- func (vf *VolatileFile) WriteData(data interface{}) error
Constants ¶
View Source
const (
VFPermDefault = 0644
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VolatileFile ¶
type VolatileFile struct {
// contains filtered or unexported fields
}
func New ¶
func New(path string) (*VolatileFile, error)
func (*VolatileFile) Deploy ¶
func (vf *VolatileFile) Deploy() error
func (*VolatileFile) EncodeData ¶
func (vf *VolatileFile) EncodeData(data interface{}) ([]byte, error)
func (*VolatileFile) GetNotifyChan ¶
func (vf *VolatileFile) GetNotifyChan() chan *event.Event
func (*VolatileFile) GetPath ¶
func (vf *VolatileFile) GetPath() string
func (*VolatileFile) ReadData ¶
func (vf *VolatileFile) ReadData() (interface{}, error)
func (*VolatileFile) ReadRawData ¶
func (vf *VolatileFile) ReadRawData() ([]byte, error)
func (*VolatileFile) TearDown ¶
func (vf *VolatileFile) TearDown() error
func (*VolatileFile) WriteData ¶
func (vf *VolatileFile) WriteData(data interface{}) error
Click to show internal directories.
Click to hide internal directories.