Skip to content

habajca/simple-pixel-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simple-pixel-server

A simple pixel server.

Build

go get
go build

Run the server

./simple-pixel [port]

The default port is 8080. The server accepts requests to the path /tracking.gif with query parameters uid, domain, lat, and lon. The service responds with a small image. The service logs request to stdout in the following format:

{"Timestamp":1453289550,"Uid":"123112352455","Domain":"test1.com","Geo":{"Latitude":37.7576171,"Longitude":-122.5776844}}

About

A simple pixel server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages