Documentation ¶
Index ¶
- func JKGetDataSimple(url string, timeout int) ([]byte, error)
- func JKPostData(iplist string, port int, page string, data []byte, timeout int) ([]byte, error)
- func JKPostDataExtern(ip string, port int, page string, data []byte, timeout int) ([]byte, error)
- func JKPostDataSimple(url string, args string, timeout int) ([]byte, error)
- type BBChat
- type BBChatAttachInfo
- type BBChatInfo
- type JKHttpQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JKPostData ¶
func JKPostDataExtern ¶
Types ¶
type BBChatAttachInfo ¶
type BBChatInfo ¶
type BBChatInfo struct { Text string `json:"text"` Attach []BBChatAttachInfo `json:"attachments"` }
type JKHttpQuery ¶
func NewJKHttpQuery ¶
func NewJKHttpQuery(url string, data string) (*JKHttpQuery, error)
func (*JKHttpQuery) AddCookie ¶
func (h *JKHttpQuery) AddCookie(key, value string)
func (*JKHttpQuery) Post ¶
func (h *JKHttpQuery) Post() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.