actions

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 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 ActionsMap

type ActionsMap map[string]Runner

func Map

func Map(client *gh.Client) ActionsMap

type Runner

type Runner interface {
	Run(*notifications.Notification, []string, io.Writer) error
}

Directories

Path Synopsis
Package assign implements an [actions.Runner] that assigns the subject of a notification.
Package assign implements an [actions.Runner] that assigns the subject of a notification.
Package debug implements an [actions.Runner] that prints a notification with a DEBUG prefix.
Package debug implements an [actions.Runner] that prints a notification with a DEBUG prefix.
Package done implements an [actions.Runner] that marks a notification as done.
Package done implements an [actions.Runner] that marks a notification as done.
Package hide implements an [actions.Runner] that hides a notification.
Package hide implements an [actions.Runner] that hides a notification.
Package open implements an [actions.Runner] that opens a notification in the browser.
Package open implements an [actions.Runner] that opens a notification in the browser.
Package pass implements an [actions.Runner] that does nothing.
Package pass implements an [actions.Runner] that does nothing.
Package print implements an [actions.Runner] that prints a notification.
Package print implements an [actions.Runner] that prints a notification.
Package read implements an [actions.Runner] that marks a notification as read.
Package read implements an [actions.Runner] that marks a notification as read.

Jump to

Keyboard shortcuts

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