Documentation ¶ Index ¶ type HttpRes func POST(url string, params any, cookies []*http.Cookie, handlers ...map[string]string) (*HttpRes, error) func (hr *HttpRes) IsError() bool func (hr *HttpRes) Text() string func (hr *HttpRes) Unmarshal(res any) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type HttpRes ¶ type HttpRes struct { ContentType string `json:"contentType"` Status string StatusCode int Body []byte Cookies []*http.Cookie } func POST ¶ func POST(url string, params any, cookies []*http.Cookie, handlers ...map[string]string) (*HttpRes, error) func (*HttpRes) IsError ¶ func (hr *HttpRes) IsError() bool func (*HttpRes) Text ¶ func (hr *HttpRes) Text() string func (*HttpRes) Unmarshal ¶ func (hr *HttpRes) Unmarshal(res any) error Source Files ¶ View all Source files http_res.go post.go Click to show internal directories. Click to hide internal directories.