fs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: AGPL-3.0 Imports: 2 Imported by: 0

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