http

package
v0.2.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientIP

func GetClientIP(req *http.Request) net.IP

Types

type Body added in v0.1.16

type Body struct {
	// contains filtered or unexported fields
}

func NewBody added in v0.1.16

func NewBody(r io.ReadCloser, maxRecordSize int) *Body

func (*Body) Close added in v0.1.16

func (p *Body) Close() error

func (*Body) Content added in v0.1.16

func (p *Body) Content() []byte

func (*Body) Length added in v0.1.16

func (p *Body) Length() int64

func (*Body) Read added in v0.1.16

func (p *Body) Read(b []byte) (n int, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL