executor

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpConfig

type HttpConfig struct {
	Url    string `json:"url,omitempty"`
	Method string `json:"method,omitempty"`
}

type HttpExecutor

type HttpExecutor struct {
	Signer func(job qron.Job, r *http.Request) error
	// contains filtered or unexported fields
}

func NewHttpExecutor

func NewHttpExecutor(maxConcurrency int) HttpExecutor

func (HttpExecutor) Run

func (h HttpExecutor) Run(job qron.Job)

type Signer

type Signer func(job qron.Job, r *http.Request) error

Jump to

Keyboard shortcuts

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