githubreview

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: May 31, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnqueueFunc

type EnqueueFunc func(context.Context, config.Config) (string, error)

type Options

type Options struct {
	PollInterval time.Duration
	Writeback    string
	AutoMerge    bool
	MergeMethod  string
	ResponseMode string
}

type Watcher

type Watcher struct {
	Runner  execx.Runner
	Enqueue EnqueueFunc
	Logf    func(string, ...any)
	Options Options
	// contains filtered or unexported fields
}

func (*Watcher) PollOnce

func (w *Watcher) PollOnce(ctx context.Context) error

func (*Watcher) Run

func (w *Watcher) Run(ctx context.Context) error

func (*Watcher) UpdateOptions added in v1.0.13

func (w *Watcher) UpdateOptions(options Options)

Jump to

Keyboard shortcuts

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