Documentation
¶
Index ¶
- func NewTransPort() *http.Transport
- type GetOrDeleteParams
- type HTTPClient
- func (r *HTTPClient) DELETE(obj *GetOrDeleteParams) error
- func (r *HTTPClient) GET(obj *GetOrDeleteParams) error
- func (r *HTTPClient) POST(obj *PostOrPutParams) error
- func (r *HTTPClient) PUT(obj *PostOrPutParams) error
- func (r *HTTPClient) SplicingFullURL(protocol, host, uri string, port int) string
- type PostOrPutParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTransPort ¶
Types ¶
type GetOrDeleteParams ¶
type HTTPClient ¶
type HTTPClient struct {
// contains filtered or unexported fields
}
func NewHTTPClient ¶
func NewHTTPClient() *HTTPClient
func (*HTTPClient) DELETE ¶
func (r *HTTPClient) DELETE(obj *GetOrDeleteParams) error
func (*HTTPClient) GET ¶
func (r *HTTPClient) GET(obj *GetOrDeleteParams) error
func (*HTTPClient) POST ¶
func (r *HTTPClient) POST(obj *PostOrPutParams) error
func (*HTTPClient) PUT ¶
func (r *HTTPClient) PUT(obj *PostOrPutParams) error
func (*HTTPClient) SplicingFullURL ¶
func (r *HTTPClient) SplicingFullURL(protocol, host, uri string, port int) string
type PostOrPutParams ¶
Click to show internal directories.
Click to hide internal directories.