Documentation ¶ Index ¶ func GetClientIP(req *http.Request) net.IP type Body func NewBody(r io.ReadCloser, maxRecordSize int) *Body func (p *Body) Close() error func (p *Body) Content() []byte func (p *Body) Length() int64 func (p *Body) Read(b []byte) (n int, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetClientIP ¶ func GetClientIP(req *http.Request) net.IP Types ¶ type Body ¶ type Body struct { // contains filtered or unexported fields } func NewBody ¶ func NewBody(r io.ReadCloser, maxRecordSize int) *Body func (*Body) Close ¶ func (p *Body) Close() error func (*Body) Content ¶ func (p *Body) Content() []byte func (*Body) Length ¶ func (p *Body) Length() int64 func (*Body) Read ¶ func (p *Body) Read(b []byte) (n int, err error) Source Files ¶ View all Source files http.go Click to show internal directories. Click to hide internal directories.