trigger

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFacade

func NewFacade(triggers ...Trigger) domain.Trigger

Creates a new facade which will call the appropriate trigger when calling Fetch or Prepare.

Types

type Trigger

type Trigger interface {
	domain.Trigger
	CanPrepare(any) bool
	CanFetch(domain.Meta) bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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