Documentation
¶
Index ¶
Constants ¶
View Source
const ( HeaderMime = "Content-Type" HeaderXFRDate = "X-FR-Date" HeaderDate = "Date" HeaderXFRClientID = "X-FR-ClientID" HeaderAuthorization = "Authorization" HeaderXFRPhumacAlgo = "X-FR-Phumac-Algo" HeaderKeyContentMD5 = "Content-MD5" )
View Source
const ( MimeJson = "application/json" MimeTextXML = "text/xml" MimeXML = "application/xml" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpClient ¶
type HttpClient interface {
Call(ctx context.Context, logger logrus.FieldLogger, method string, url string, header map[string]string, body interface{}, dest interface{}, requestInterceptors ...Interceptor) error
}
func NewClient ¶
func NewClient() HttpClient
type Interceptor ¶
Click to show internal directories.
Click to hide internal directories.