Documentation
¶
Index ¶
- func RobotCurlBase(method string, protocol string, host string, url string, ...) (interface{}, error)
- type CurlService
- func (s *CurlService) Curl(method string, url string, header map[string]string, params interface{}) ([]byte, error)
- func (s *CurlService) Get(url string) []byte
- func (s *CurlService) PostWithFormData(method, url string, header map[string]string, postData *map[string]string) ([]byte, error)
- func (s *CurlService) RobotCurl(method string, url string, header map[string]string, ...) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CurlService ¶
type CurlService struct {
}
func NewCurlService ¶
func NewCurlService() CurlService
func (*CurlService) Get ¶
func (s *CurlService) Get(url string) []byte
func (*CurlService) PostWithFormData ¶
Click to show internal directories.
Click to hide internal directories.