Help us shape the future of Go! Take the 2026 Go Developer Survey

code

package
v0.1.84 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 10 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessLogs

func ProcessLogs(r io.ReadCloser, w io.Writer)

Types

type Change

type Change struct {
	Path       string
	IsRelative bool
}

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

func NewWatcher

func NewWatcher(ctx context.Context, events chan<- Change, base string, dependencies *builders.Dependencies) (*Watcher, error)

func (*Watcher) Handle added in v0.1.34

func (watcher *Watcher) Handle(event Change)

func (*Watcher) Pause added in v0.1.34

func (watcher *Watcher) Pause()

func (*Watcher) Resume added in v0.1.34

func (watcher *Watcher) Resume()

func (*Watcher) Start

func (watcher *Watcher) Start(ctx context.Context)

Jump to

Keyboard shortcuts

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