http_sender

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MIMEApplicationJSON = "application/json"
	HeaderAccept        = "Accept"
	HeaderContentType   = "Content-Type"
	HeaderAuthorization = "Authorization"
	HeaderSignature     = "Signature"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpSender

type HttpSender interface {
	Send(url string, req interface{}, action string, secretKey string) (*common.Request, *http.Response, error)
}

func NewHttpSenderImpl

func NewHttpSenderImpl() HttpSender

Jump to

Keyboard shortcuts

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