Documentation ¶
Index ¶
- func Get(url string, param map[string]interface{}, urlEncode bool, args ...interface{}) (body []byte, ok bool)
- func GetSSL(url string, param map[string]interface{}, urlEncode bool, args ...interface{}) (body []byte, ok bool)
- func Post(url, data, contentType string, args ...interface{}) (body []byte, ok bool)
- func PostSSL(url, data, contentType string, args ...interface{}) (body []byte, ok bool)
- func Request(pid *kernel.Pid, method, url string, param ...interface{}) ([]byte, bool)
- func SetMaxPoolSize(num int32)
- func StartWorker(father *kernel.Pid) *kernel.Pid
- func WithBody(bodyStr string) bodyType
- func WithContentType(contentT string) contentType
- func WithHeader(key, value string) header
- func WithSSL() useSSL
- func WithTimeOut(t int32) timeOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetMaxPoolSize ¶
func SetMaxPoolSize(num int32)
func WithContentType ¶
func WithContentType(contentT string) contentType
func WithHeader ¶
func WithHeader(key, value string) header
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.