chainlink

package
v0.0.0-...-5955844 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package chainlink implements functions to interact with a Chainlink node.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	AccessKey    string
	AccessSecret string
	Endpoint     url.URL
	Retry        RetryConfig
}

Node encapsulates all the configuration necessary to interact with a Chainlink node.

func (Node) TriggerJob

func (cl Node) TriggerJob(jobId string, data []byte) error

TriggerJob wil send a job run trigger for the provided jobId.

type RetryConfig

type RetryConfig struct {
	Timeout  time.Duration
	Attempts uint
	Delay    time.Duration
}

Jump to

Keyboard shortcuts

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