Documentation ¶
Index ¶
- func GetRoutineCount() int32
- type Proxy
- type Session
- func (this *Session) GetHost() string
- func (this *Session) GetLocalData() interface{}
- func (this *Session) GetMethod() string
- func (this *Session) GetRequestBody() string
- func (this *Session) GetRequestEncoding() string
- func (this *Session) GetRequestHead() http.Header
- func (this *Session) GetRequestProto() string
- func (this *Session) GetRequestURL() string
- func (this *Session) GetResponseBody() string
- func (this *Session) GetResponseEncoding() string
- func (this *Session) GetResponseHead() http.Header
- func (this *Session) GetResponseProto() string
- func (this *Session) GetResponseType() string
- func (this *Session) GetStatus() string
- func (this *Session) SetLocalData(data interface{})
- func (this *Session) SetRequestBody(body string)
- func (this *Session) SetResponseBody(body string)
- type Sniffer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRoutineCount ¶
func GetRoutineCount() int32
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func NewSession ¶
func (*Session) GetLocalData ¶
func (this *Session) GetLocalData() interface{}
func (*Session) GetRequestBody ¶
func (*Session) GetRequestEncoding ¶
func (*Session) GetRequestHead ¶
func (*Session) GetRequestProto ¶
func (*Session) GetRequestURL ¶
func (*Session) GetResponseBody ¶
Call this func if it is really necessary, because of memory consuming for large response
func (*Session) GetResponseEncoding ¶
func (*Session) GetResponseHead ¶
func (*Session) GetResponseProto ¶
func (*Session) GetResponseType ¶
func (*Session) SetLocalData ¶
func (this *Session) SetLocalData(data interface{})
func (*Session) SetRequestBody ¶
func (*Session) SetResponseBody ¶
Click to show internal directories.
Click to hide internal directories.