diff --git a/templates/index.html b/templates/index.html index bb3af5e..e02303a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -22,46 +22,46 @@ - IP Address{{ ip_address }} + IP Address{{ .ip }} - Remote Host{{ remote_host }} + Remote Host{{ .host }} - User Agent{{ user_agent }} + User Agent{{ .ua }} - Port{{ port }} + Port{{ .port }} - Language{{ language }} + Language{{ .lang }} - Referer{{ referer }} + Referer{{ .referer }} - Connection{{ connection }} + Connection{{ .connection }} - KeepAlive{{ keep_alive }} + KeepAlive{{ .keep_alive }} - Method{{ method }} + Method{{ .method }} - Encoding{{ encoding }} + Encoding{{ .encoding }} - MIME Type{{ mime_type }} + MIME Type{{ .mime_type }} - Charset{{ charset }} + Charset{{ .charset }} - Via{{ via }} + Via{{ .via }} - X-Forwarded-For{{ x_forwarded_for }} + X-Forwarded-For{{ .x_forwarded_for }} @@ -74,52 +74,52 @@ - $ curl ifconfig.io{{ ipaddr }} + $ curl ifconfig.io{{ .ip }} - $ curl ifconfig.io/ip{{ ipaddr }} + $ curl ifconfig.io/ip{{ .ip }} - $ curl ifconfig.io/host{{ hostname }} + $ curl ifconfig.io/host{{ .host }} - $ curl ifconfig.io/ua{{ useragent }} + $ curl ifconfig.io/ua{{ .ua }} - $ curl ifconfig.io/port{{ port }} + $ curl ifconfig.io/port{{ .port }} - $ curl ifconfig.io/lang{{ language }} + $ curl ifconfig.io/lang{{ .lang }} - $ curl ifconfig.io/keepalive{{ keepalive }} + $ curl ifconfig.io/keepalive{{ .keep_alive }} - $ curl ifconfig.io/connection{{ keep_alive }} + $ curl ifconfig.io/connection{{ .connection }} - $ curl ifconfig.io/encoding{{ encoding }} + $ curl ifconfig.io/encoding{{ .encoding }} - $ curl ifconfig.io/mime{{ mime_type }} + $ curl ifconfig.io/mime{{ .mime_type }} - $ curl ifconfig.io/charset{{ charset }} + $ curl ifconfig.io/charset{{ .charset }} - $ curl ifconfig.io/via{{ via }} + $ curl ifconfig.io/via{{ .via }} - $ curl ifconfig.io/forwarded{{ x_forwarded_for }} + $ curl ifconfig.io/forwarded{{ .x_forwarded_for }} - $ curl ifconfig.io/all{{ hash as yaml }} + $ curl ifconfig.io/all{{ .hash_as_yaml }} - $ curl ifconfig.io/all.xml{{ hash as xml }} + $ curl ifconfig.io/all.xml{{ .hash_as_xml }} - $ curl ifconfig.io/all.json{{ hash as json }} + $ curl ifconfig.io/all.json{{ .hash_as_json }}