httpcall

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Callback

type Callback func(headers http.Header, body []byte, err error)

Callback represents callback function that has response result as arguments

type Client

type Client interface {
	Post(cluster_name, host, path string, header http.Header, body []byte, callback Callback) error
}

Client represents client for httpcall

func New

func New(timeoutMillisecond uint32) Client

New initializes client that meets Client interface

Jump to

Keyboard shortcuts

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