Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequestNative ¶
this method use golang's net package, "GET" and "POST" are included. just simple encapsulation TODO: add proxy service
func RequestSelenium ¶
const MAX_NUM_CONN_SELENIUM int = 10 TODO: TCP pool to be implemented. connTCP should be a global object, and can be reused many times. TODO: default request type is "GET", "POST" method is not implemented. TODO: many other request info doesn't transfer to selenium, such as header, cookies and so on. now is noly transfer url, such as "https://www.baidu.com". TODO: set timeout.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.