fs

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: AGPL-3.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileTailer

type FileTailer struct {
	Path string
}

func (FileTailer) Tail

func (tailer FileTailer) Tail() (*tail.Tail, error)

type FsReader

type FsReader struct{}

func (FsReader) Read

func (FsReader) Read(path string) ([]byte, error)

type Reader

type Reader interface {
	Read(path string) ([]byte, error)
}

type Tailer

type Tailer interface {
	Tail() (*tail.Tail, error)
}

Jump to

Keyboard shortcuts

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