Documentation ¶
Index ¶
- type EzClient
- func (c *EzClient) FileGet(url, path string) (int, error)
- func (c *EzClient) JSON(j interface{}) *EzClient
- func (c *EzClient) JSONGet(url string, out interface{}) (int, error)
- func (c *EzClient) JSONPost(url string, out interface{}) (int, error)
- func (c *EzClient) JSONStr(j string) *EzClient
- func (c *EzClient) PostFile(url, filepath, formName string, params map[string]string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EzClient ¶
EzClient is a container for the http requests.
func NewInsecureClient ¶
func NewInsecureClient() *EzClient
NewInsecureClient creates a new SSL client but skips verification.
Click to show internal directories.
Click to hide internal directories.