Documentation ¶
Index ¶
- Variables
- type Session
- func (Ω *Session) Connect() (chan bool, chan error)
- func (Ω *Session) Login(username string, password string) (chan bool, chan error)
- func (Ω *Session) LoginStatus() (loggedIn bool, userName string, restorable bool)
- func (Ω *Session) NewRequest() *gorequest.SuperAgent
- func (Ω *Session) Request() *gorequest.SuperAgent
Constants ¶
This section is empty.
Variables ¶
View Source
var TLSVerify bool = true
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct { Server string Port string Version string CookieFile string TLSVerify bool Jar http.CookieJar Paths resource.Paths // contains filtered or unexported fields }
func (*Session) LoginStatus ¶
func (*Session) NewRequest ¶
func (Ω *Session) NewRequest() *gorequest.SuperAgent
returns a new request object clone session from default request
func (*Session) Request ¶
func (Ω *Session) Request() *gorequest.SuperAgent
returns the default request object
Click to show internal directories.
Click to hide internal directories.