http

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPCmd

type HTTPCmd struct {
	*http.Client
}

HTTPCmd provides methods for http task

func (*HTTPCmd) Run

func (c *HTTPCmd) Run(meta *registry.Meta) (res interface{}, err error)

Run exec the actual http logic, and res represent the result of http task

Jump to

Keyboard shortcuts

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