http

package
v1.2.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: Apache-2.0 Imports: 9 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