Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConnectTimeout = 5 KeepaliveInterval = 10 FileCheckInterval = 5 DataTimeout = 5 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileReader ¶
type FileReader struct {
// contains filtered or unexported fields
}
func NewFileReader ¶
func NewFileReader(path string) (*FileReader, error)
func (FileReader) Delete ¶
func (r FileReader) Delete(name string) error
func (FileReader) ReadDir ¶
func (r FileReader) ReadDir() ([]*FileData, error)
Click to show internal directories.
Click to hide internal directories.