Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultSystem = &System{}
Functions ¶
func IsDirectory ¶
Types ¶
type FileToWatch ¶
type FileToWatch interface { Path() string OnChange() }
type FileWatcher ¶
type FileWatcher struct {
// contains filtered or unexported fields
}
func NewFileWatcher ¶
func NewFileWatcher() (fw *FileWatcher)
func (*FileWatcher) Add ¶
func (cw *FileWatcher) Add(file FileToWatch)
func (*FileWatcher) Close ¶
func (cw *FileWatcher) Close() (err error)
func (*FileWatcher) Serve ¶
func (cw *FileWatcher) Serve(ctx context.Context)
type UnixPseudo ¶
type UnixPseudo struct {
// contains filtered or unexported fields
}
func (UnixPseudo) Close ¶
func (up UnixPseudo) Close() (err error)
func (UnixPseudo) Pid ¶
func (up UnixPseudo) Pid() int
func (UnixPseudo) Resize ¶
func (up UnixPseudo) Resize(cols, rows int) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.