file

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL