watcher

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 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