Documentation ¶ Index ¶ type Session func NewSession() (*Session, error) func (r *Session) Cookie(k string) string func (r *Session) Get(uri, path string, query map[string]string) (*http.Response, error) func (r *Session) Post(uri, path string, query, header map[string]string, body io.Reader) (*http.Response, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Session ¶ type Session struct { // contains filtered or unexported fields } var DefaultSession *Session func NewSession ¶ added in v0.2.0 func NewSession() (*Session, error) func (*Session) Cookie ¶ func (r *Session) Cookie(k string) string func (*Session) Get ¶ func (r *Session) Get(uri, path string, query map[string]string) (*http.Response, error) func (*Session) Post ¶ func (r *Session) Post(uri, path string, query, header map[string]string, body io.Reader) (*http.Response, error) Source Files ¶ View all Source files request.go session.go Click to show internal directories. Click to hide internal directories.