go_ip_device_parser

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: MIT Imports: 5 Imported by: 0

README

go_ip_device_parser

IP and User Agent parser for GoLang

Installation

go get -u github.com/Gohelraj/go_ip_device_parser

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserAgent

type UserAgent struct {
	user_agent.UserAgent
	IpAddress string `json:"ipAddress"`
}

func ParseUserAgent

func ParseUserAgent(r *http.Request) *UserAgent

Jump to

Keyboard shortcuts

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