http

package
v0.0.0-...-75be81d Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Do

type Do struct {
	fn.Function[Do, DoInput, DoOutput]
}

func (Do) Call

func (task Do) Call(ctx *fn.Context, input DoInput) (output DoOutput, err error)

type DoInput

type DoInput struct {
	Url    future.Future[string]
	Method future.Future[string]
	Body   future.Future[string]
}

type DoOutput

type DoOutput struct {
	Code      future.Future[int]
	Body      future.Future[string]
	TimeStamp future.Future[time.Time]
}

Jump to

Keyboard shortcuts

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