shared

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToIoWriter

func ToIoWriter(n NotifyWriter, event NotifyWriterEvent) io.Writer

Types

type Notifier

type Notifier interface {
	Notify(ctx context.Context, event NotifyEvent, data map[string]string) error
}

type NotifyEvent

type NotifyEvent = int

type NotifyWriter

type NotifyWriter interface {
	NotifyWrite(ctx context.Context, event NotifyWriterEvent, p []byte) (n int, err error)
}

type NotifyWriterEvent

type NotifyWriterEvent = int

Source Files

  • shared.go

Jump to

Keyboard shortcuts

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