Skip to content

pavemaksim/gocounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gocounter

Very simple counter written in Go. It allows you to track total count for some unique ID.

Requirements

  • Go 1.7+
  • MongoDB 3.0+

Deploy

  • Grab source code git clone
  • Create config file: cp config.example.toml config.toml
  • Set up your DB connection in config.toml
  • go run main.go and you're done!

API

Track count for ID:

GET /counter/:id

Response

{
    "status" : "ok"
}

About

Very simple counter written in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages