Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BufferCloser ¶
BufferCloser is a wrapper around bytes.Buffer that adds io.Close method to make it io.ReadCloser
func NewBufferCloser ¶
func NewBufferCloser(buf *bytes.Buffer) *BufferCloser
NewBufferCloser creates new BufferClose
func (*BufferCloser) Close ¶
func (b *BufferCloser) Close() error
Close implements io.Close interface
type SessionData ¶
type SessionData struct {
// contains filtered or unexported fields
}
SessionData has info about a request/response session
func NewSessionData ¶
func NewSessionData() *SessionData
Click to show internal directories.
Click to hide internal directories.