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

notifier

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Warning

func Warning(s Status) string

Types

type Notifier

type Notifier interface {
	Key() string
	Publish(ctx context.Context, ref json.RawMessage, v render.View) (json.RawMessage, Status, error)
	Link(ref json.RawMessage) string
	Done(ref json.RawMessage) bool
}

type Status

type Status string
const (
	OK           Status = "ok"
	Pending      Status = "pending"
	NoCopy       Status = "no_copy"
	NoDiscussion Status = "no_discussion"
	Unthreaded   Status = "unthreaded"
	PostGone     Status = "post_gone"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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