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
Click to show internal directories.
Click to hide internal directories.