MCPcopy Create free account
hub / github.com/devfeel/dotweb / RemoteIP

Method RemoteIP

context.go:492–494  ·  view source on GitHub ↗

RemoteIP return user IP address

()

Source from the content-addressed store, hash-verified

490
491// RemoteIP return user IP address
492func (ctx *HttpContext) RemoteIP() string {
493 return ctx.request.RemoteIP()
494}
495
496// SetCookieValue write cookie for name & value & maxAge
497// default path = "/"

Callers

nothing calls this directly

Calls 1

RemoteIPMethod · 0.65

Tested by

no test coverage detected