Documentation ¶
Index ¶
- type ResetFulClient
- func (this *ResetFulClient) CreateHTTPClient() *http.Client
- func (this *ResetFulClient) HttpGet(url_add string) string
- func (this *ResetFulClient) PostBase64Json(url_add string, data string) string
- func (this *ResetFulClient) PostData(url_add string, data url.Values) string
- func (this *ResetFulClient) PostJson(url_add string, data string) string
- func (this *ResetFulClient) SetHeader(data map[string]string) *ResetFulClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResetFulClient ¶
type ResetFulClient struct { MaxIdleConns int MaxIdleConnsPerHost int IdleConnTimeout int IsKeepActive int HeadData map[string]string HttpClient *http.Client }
func NewResetFulClient ¶
func NewResetFulClient() *ResetFulClient
func (*ResetFulClient) CreateHTTPClient ¶
func (this *ResetFulClient) CreateHTTPClient() *http.Client
func (*ResetFulClient) HttpGet ¶
func (this *ResetFulClient) HttpGet(url_add string) string
func (*ResetFulClient) PostBase64Json ¶
func (this *ResetFulClient) PostBase64Json(url_add string, data string) string
func (*ResetFulClient) PostData ¶
func (this *ResetFulClient) PostData(url_add string, data url.Values) string
func (*ResetFulClient) PostJson ¶
func (this *ResetFulClient) PostJson(url_add string, data string) string
func (*ResetFulClient) SetHeader ¶
func (this *ResetFulClient) SetHeader(data map[string]string) *ResetFulClient
Click to show internal directories.
Click to hide internal directories.