triggers

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPeriodNotSet = fmt.Errorf("IPFS-Search period not set")
View Source
var ErrResponseIsNil = fmt.Errorf("IPFS-Search response is nil")
View Source
var ErrURLNotSet = fmt.Errorf("IPFS-Search URL not set")

Functions

This section is empty.

Types

type IPFSSearchTrigger

type IPFSSearchTrigger struct {
	URL    string
	Period time.Duration // Period to wait between requests to IPFS Search
}

func (*IPFSSearchTrigger) Start

func (t *IPFSSearchTrigger) Start(ctx context.Context, cidChan chan cid.Cid) error

Jump to

Keyboard shortcuts

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