aboutsummaryrefslogtreecommitdiff
path: root/lib/sql
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2021-02-10 15:18:01 +0700
committerShulhan <m.shulhan@gmail.com>2021-02-10 15:18:01 +0700
commitf8f4fddec8ea2cb4905a6d9d466a4d9e99e2cb99 (patch)
tree25cb2e7abae10896ce59189c17d45483acd6f8b3 /lib/sql
parent215e4b60542a6cddbcf201b3cd793714d45b65da (diff)
downloadpakakeh.go-f8f4fddec8ea2cb4905a6d9d466a4d9e99e2cb99.tar.xz
http: change signature of IPAddressOfRequest
Previously, the IPAddressOfRequest accept only one parameter, the http.Request. This make the function only works on HTTP server from standard library, not from other library (for example websocket) or other protocol that use HTTP header too. This commit changes the parameter to http.Header and default address. If no headers present, then the default address will be used.
Diffstat (limited to 'lib/sql')
0 files changed, 0 insertions, 0 deletions