watcher

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner[T target.Dist] struct {
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner[T target.Dist](reload func() error) *Runner[T]

func (*Runner[T]) Reload

func (r *Runner[T]) Reload() error

func (*Runner[T]) Run

func (r *Runner[T]) Run(ctx context.Context, dist T) (err error)

Jump to

Keyboard shortcuts

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