tasks

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpMethod

type HttpMethod int
const (
	HttpMethodGet HttpMethod = iota
	HttpMethodPost
	HttpMethodPut
	HttpMethodDelete
)

type HttpTask

type HttpTask struct {
	Method  HttpMethod
	Request string
	Token   string
	Payload interface{}
}

type HttpTaskProvider

type HttpTaskProvider interface {
	CreateHttpTask(context.Context, HttpTask) error
}

Jump to

Keyboard shortcuts

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