factory

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	// contains filtered or unexported fields
}

func New

func New(conf *conf.Config) *Factory

func (*Factory) CancelExecTask

func (f *Factory) CancelExecTask(uuid string)

func (*Factory) ExecTask

type HttpRequest added in v1.0.7

type HttpRequest struct {
	URL      string            `json:"url"`
	Params   map[string]any    `json:"params"`
	Method   string            `json:"method"`
	Header   map[string]string `json:"header"`
	Body     string            `json:"body"`
	BodyJson map[string]any    `json:"bodyJson"`
}

Jump to

Keyboard shortcuts

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