actions

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 10 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, io.Writer) error
}

Directories

Path Synopsis
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